Re: [dm-devel] [PATCH v5 04/12] block: add poll_capable method to support bio-based IO polling

2021-03-11 Thread JeffleXu
On 3/11/21 6:21 AM, Mike Snitzer wrote: > On Wed, Mar 03 2021 at 6:57am -0500, > Jeffle Xu wrote: > >> This method can be used to check if bio-based device supports IO polling >> or not. For mq devices, checking for hw queue in polling mode is >> adequate, while the sanity check shall be

Re: [dm-devel] [PATCH v5 04/12] block: add poll_capable method to support bio-based IO polling

2021-03-10 Thread Mike Snitzer
On Wed, Mar 03 2021 at 6:57am -0500, Jeffle Xu wrote: > This method can be used to check if bio-based device supports IO polling > or not. For mq devices, checking for hw queue in polling mode is > adequate, while the sanity check shall be implementation specific for > bio-based devices. For

[dm-devel] [PATCH v5 04/12] block: add poll_capable method to support bio-based IO polling

2021-03-04 Thread Jeffle Xu
This method can be used to check if bio-based device supports IO polling or not. For mq devices, checking for hw queue in polling mode is adequate, while the sanity check shall be implementation specific for bio-based devices. For example, dm device needs to check if all underlying devices are