[PATCH v5 0/5] Introduce block provisioning primitives
From: Sarthak Kukreti
Date: Wed Apr 19 2023 - 20:49:05 EST
Next revision of adding support for block provisioning requests.
Changes from v4:
- Add fix for block devices invalidating pagecache if blkdev_fallocate()
is called with an invalid mode.
- s/max_provision_sectors/provision_max_bytes in sysfs.
Sarthak Kukreti (5):
block: Don't invalidate pagecache for invalid falloc modes
block: Introduce provisioning primitives
dm: Add block provisioning support
dm-thin: Add REQ_OP_PROVISION support
loop: Add support for provision requests
block/blk-core.c | 5 +++
block/blk-lib.c | 53 +++++++++++++++++++++++++
block/blk-merge.c | 18 +++++++++
block/blk-settings.c | 19 +++++++++
block/blk-sysfs.c | 9 +++++
block/bounce.c | 1 +
block/fops.c | 28 +++++++++-----
drivers/block/loop.c | 42 ++++++++++++++++++++
drivers/md/dm-crypt.c | 5 ++-
drivers/md/dm-linear.c | 2 +
drivers/md/dm-snap.c | 8 ++++
drivers/md/dm-table.c | 23 +++++++++++
drivers/md/dm-thin.c | 73 ++++++++++++++++++++++++++++++++---
drivers/md/dm.c | 6 +++
include/linux/bio.h | 6 ++-
include/linux/blk_types.h | 5 ++-
include/linux/blkdev.h | 16 ++++++++
include/linux/device-mapper.h | 17 ++++++++
18 files changed, 318 insertions(+), 18 deletions(-)
--
2.40.0.634.g4ca3ef3211-goog