On 7/14/22 07:12, Christoph Hellwig wrote: > To: > Sergei Shtepa <sergei.shtepa@xxxxxxxxx> > CC: > Christoph Hellwig <hch@xxxxxxxxxxxxx>, "axboe@xxxxxxxxx" <axboe@xxxxxxxxx>, "linux-block@xxxxxxxxxxxxxxx" <linux-block@xxxxxxxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx> > > > On Wed, Jul 13, 2022 at 03:47:23PM +0200, Sergei Shtepa wrote: >>>> 2. Can the filter sleep or postpone bio processing to the worker thread? >>> I think all of te above is fine, just for normal submit_bio based >>> drivers. >> >> Good. But I'm starting to think that for request-based block devices, >> filtering should be different. I need to check it out. > As long as you filter in the submit_bio stack you handle both submit_bio > and request based (blk-mq) drivers. So I don't think we hould need > to handle them any differently. > >> I have a lot of work to do to improve the patch. > If you have any questions or want to get feedback on iterations not > ready to post feel free to ask me offlist. > Thank you very much. When a worthy question matures in me, I will take advantage of your offer.