Re: [dm-devel] [PATCH v5 4/5] dm-thin: Add REQ_OP_PROVISION support

2023-05-05 Thread Sarthak Kukreti
On Mon, May 1, 2023 at 12:15 PM Mike Snitzer wrote: > > On Wed, Apr 19 2023 at 8:48P -0400, > Sarthak Kukreti wrote: > > > dm-thinpool uses the provision request to provision > > blocks for a dm-thin device. dm-thinpool currently does not > > pass through REQ_OP_PROVISION to underlying devices.

Re: [dm-devel] [PATCH v5 4/5] dm-thin: Add REQ_OP_PROVISION support

2023-05-01 Thread Mike Snitzer
On Wed, Apr 19 2023 at 8:48P -0400, Sarthak Kukreti wrote: > dm-thinpool uses the provision request to provision > blocks for a dm-thin device. dm-thinpool currently does not > pass through REQ_OP_PROVISION to underlying devices. > > For shared blocks, provision requests will break sharing and

[dm-devel] [PATCH v5 4/5] dm-thin: Add REQ_OP_PROVISION support

2023-04-19 Thread Sarthak Kukreti
dm-thinpool uses the provision request to provision blocks for a dm-thin device. dm-thinpool currently does not pass through REQ_OP_PROVISION to underlying devices. For shared blocks, provision requests will break sharing and copy the contents of the entire block. Additionally, if 'skip_block_zero