[PATCHv2 1/2] block: export passthrough stats enabled
Christoph Hellwig
hch at lst.de
Wed May 27 06:28:41 PDT 2026
On Wed, May 27, 2026 at 07:22:11AM -0600, Keith Busch wrote:
> On Wed, May 27, 2026 at 03:14:58PM +0200, Christoph Hellwig wrote:
> > > +static inline bool blk_rq_passthrough_stats(struct request *req,
> > > + struct request_queue *q)
> >
> > The kerneldoc requested last time would be really nice to have.
> > Also, now that this is a public API killing the q argument and
> > just using req->q would make the API easier to understand.
>
> Oh, my missing kerneldoc is clearly a problem. We need a separate
> argument for the request_queue because the q we want to count stats for
> may not be the one providing the request.
Even more argument for having the documentation :)
More information about the Linux-nvme
mailing list