Re: [dm-devel] Does dm-zoned support buffered write?

2023-05-15 Thread Damien Le Moal
On 5/15/23 15:06, Hannes Reinecke wrote: > On 5/12/23 19:41, Ming Lin wrote: >> On Thu, May 11, 2023 at 11:56 AM Hannes Reinecke wrote: >>> >>> On 5/11/23 20:41, Ming Lin wrote: Hi list, I have an application that needs to use buffered_io to access SMR disk for good performance

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

2023-05-15 Thread Sarthak Kukreti
On Fri, May 12, 2023 at 11:37 AM Darrick J. Wong wrote: > > On Fri, May 05, 2023 at 11:29:06PM -0700, Sarthak Kukreti 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

Re: [dm-devel] [PATCH v6 5/5] loop: Add support for provision requests

2023-05-15 Thread Sarthak Kukreti
On Mon, May 15, 2023 at 5:37 AM Brian Foster wrote: > > On Fri, May 05, 2023 at 11:29:09PM -0700, Sarthak Kukreti wrote: > > Add support for provision requests to loopback devices. > > Loop devices will configure provision support based on > > whether the underlying block device/file can support >

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

2023-05-15 Thread Sarthak Kukreti
On Fri, May 12, 2023 at 10:32 AM Mike Snitzer wrote: > > On Sat, May 06 2023 at 2:29P -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] Does dm-zoned support buffered write?

2023-05-15 Thread Ming Lin
On Mon, May 15, 2023 at 4:46 AM Damien Le Moal wrote: > >> > >> === > >> At another terminal, > >> > >> root@smr_dev:~# ps aux | grep mkfs.ext4 > >> root 1411791 2.8 0.0 30992 19864 pts/1D+ 01:30 0:01 > >> mkfs.ext4 /dev/dm-0 > >> root 1413640 0.0 0.0 13972 2496 pts/0S+

Re: [dm-devel] [PATCH v6 5/5] loop: Add support for provision requests

2023-05-15 Thread Brian Foster
On Fri, May 05, 2023 at 11:29:09PM -0700, Sarthak Kukreti wrote: > Add support for provision requests to loopback devices. > Loop devices will configure provision support based on > whether the underlying block device/file can support > the provision request and upon receiving a provision bio, > wi