[dm-devel] [PATCH v6 2/5] block: Introduce provisioning primitives

Mike Snitzer snitzer at kernel.org
Tue May 9 16:52:16 UTC 2023


On Sat, May 06 2023 at  2:29P -0400,
Sarthak Kukreti <sarthakkukreti at chromium.org> wrote:

> Introduce block request REQ_OP_PROVISION. The intent of this request
> is to request underlying storage to preallocate disk space for the given
> block range. Block devices that support this capability will export
> a provision limit within their request queues.
> 
> This patch also adds the capability to call fallocate() in mode 0
> on block devices, which will send REQ_OP_PROVISION to the block
> device for the specified range,
> 
> Signed-off-by: Sarthak Kukreti <sarthakkukreti at chromium.org>

Reviewed-by: Mike Snitzer <snitzer at kernel.org>



More information about the dm-devel mailing list