Message ID | 20250320111328.2841690-2-mcgrof@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | nvme-pci: breaking the 512 KiB max IO boundary | expand |
diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c index 0e47da82b0c2..aa109f4ee491 100644 --- a/fs/iomap/direct-io.c +++ b/fs/iomap/direct-io.c @@ -30,7 +30,7 @@ /* * Used for sub block zeroing in iomap_dio_zero() */ -#define IOMAP_ZERO_PAGE_SIZE (SZ_64K) +#define IOMAP_ZERO_PAGE_SIZE (BLK_MAX_BLOCK_SIZE) #define IOMAP_ZERO_PAGE_ORDER (get_order(IOMAP_ZERO_PAGE_SIZE)) static struct page *zero_page;
There is no point in modifying two locations now that we have a sensible BLK_MAX_BLOCK_SIZE defined which is only lifted once we have tested and validated things. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> --- fs/iomap/direct-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)