diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-29 13:21:52 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-12-04 19:58:53 +0300 |
commit | c6f40468657d16e4010ef84bf32a761feb3469ea (patch) | |
tree | b86852a866cadaac4e68c67b7a5e3419ad32d588 /kernel/up.c | |
parent | e5c71954ca11df04d258a663a8a15262be0e17f6 (diff) | |
download | linux-c6f40468657d16e4010ef84bf32a761feb3469ea.tar.xz |
fsdax: decouple zeroing from the iomap buffered I/O code
Unshare the DAX and iomap buffered I/O page zeroing code. This code
previously did a IS_DAX check deep inside the iomap code, which in
fact was the only DAX check in the code. Instead move these checks
into the callers. Most callers already have DAX special casing anyway
and XFS will need it for reflink support as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20211129102203.2243509-19-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions