Skip to content
Commit 3dc29161 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Vishal Verma
Browse files

dax: use sb_issue_zerout instead of calling dax_clear_sectors



dax_clear_sectors() cannot handle poisoned blocks.  These must be
zeroed using the BIO interface instead.  Convert ext2 and XFS to use
only sb_issue_zerout().

Reviewed-by: default avatarJeff Moyer <jmoyer@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
[vishal: Also remove the dax_clear_sectors function entirely]
Signed-off-by: default avatarVishal Verma <vishal.l.verma@intel.com>
parent 0a70bd43
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment