Re: [dm-devel] [RFC PATCH] block: add meaningful macro for flush op flags

2023-05-14 Thread Coly Li
> 2023年5月12日 10:07,Chaitanya Kulkarni 写道: > > Flush requests are implemented as REQ_OP_WRITE + REQ_OP_PREFLUSH > combination and not REQ_OP_FLUSH + REQ_PREFLUSH combination. > > This unclear nature has lead to the confusion and bugs in the code for > block drivers causing more work for testing

Re: [dm-devel] [RFC PATCH] block: add meaningful macro for flush op flags

2023-05-14 Thread Yu Kuai
Hi, 在 2023/05/13 9:09, Chaitanya Kulkarni 写道: On 5/12/23 06:00, Christoph Hellwig wrote: Hell no. This is just obsfucation. We can look into actually exposing REQ_OP_FLUSH at the bio level, but not something like this. and that's why I made it RFC, thanks for the can you please elaborate o

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

2023-05-14 Thread Hannes Reinecke
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. From "ZBD Support Restrictions" at https://zonedstorage.io/docs