Message ID | 20230414000219.92640-1-sarthakkukreti@chromium.org (mailing list archive) |
---|---|
Headers | show |
Series | Introduce provisioning primitives for thinly provisioned storage | expand |
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(-)
Hi, This patch series covers iteration 6 of adding support for block provisioning requests. Changes from v5: - Remove explicit supports_provision from dm devices. - Move provision sectors io hint to pool_io_hint. Other devices will derive the provisioning limits from the stack. - Remove artifact from v4 to omit cell_defer_no_holder for REQ_OP_PROVISION. - Fix blkdev_fallocate() called with invalid fallocate modes to propagate errors correctly. 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 | 31 +++++++++++++--- drivers/block/loop.c | 42 +++++++++++++++++++++ drivers/md/dm-crypt.c | 4 +- drivers/md/dm-linear.c | 1 + drivers/md/dm-snap.c | 7 ++++ drivers/md/dm-table.c | 23 ++++++++++++ drivers/md/dm-thin.c | 70 +++++++++++++++++++++++++++++++++-- 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, 319 insertions(+), 14 deletions(-)
On Fri, May 05, 2023 at 11:29:04PM -0700, Sarthak Kukreti wrote: > Hi, > > This patch series covers iteration 6 of adding support for block > provisioning requests. I didn't even notice there was a v6. Could you start a fresh thread when you bump the revision count, please? --D > Changes from v5: > - Remove explicit supports_provision from dm devices. > - Move provision sectors io hint to pool_io_hint. Other devices > will derive the provisioning limits from the stack. > - Remove artifact from v4 to omit cell_defer_no_holder for > REQ_OP_PROVISION. > - Fix blkdev_fallocate() called with invalid fallocate > modes to propagate errors correctly. > > 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 | 31 +++++++++++++--- > drivers/block/loop.c | 42 +++++++++++++++++++++ > drivers/md/dm-crypt.c | 4 +- > drivers/md/dm-linear.c | 1 + > drivers/md/dm-snap.c | 7 ++++ > drivers/md/dm-table.c | 23 ++++++++++++ > drivers/md/dm-thin.c | 70 +++++++++++++++++++++++++++++++++-- > 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, 319 insertions(+), 14 deletions(-) > > -- > 2.40.1.521.gf1e218fcd8-goog >