[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240712065745.808422-1-xue01.he@samsung.com>
Date: Fri, 12 Jul 2024 14:57:45 +0800
From: hexue <xue01.he@...sung.com>
To: hch@...radead.org
Cc: asml.silence@...il.com, axboe@...nel.dk, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org, xue01.he@...sung.com
Subject: Re: Re: [PATCH v2] io_uring: Avoid polling configuration errors
>This is wrong for multiple reasons. One is that we can't simply poke
>into block device internals like this in a higher layer like io_uring.
>Second blkdev_get_no_open is in no way available for use outside the
>block layer. The fact that the even exist as separate helpers that
>aren't entirely hidden is a decade old layering violation in blk-cgroup.
Got it, thanks.
>If you want to advertize this properly we'll need a flag in struct
>file or something similar.
Thanks, I will try to do this.
--
hexue
Powered by blists - more mailing lists