Thread (64 messages) 64 messages, 10 authors, 2018-05-17

Re: [PATCH 01/33] block: add a lower-level bio_add_page interface

flat view

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-05-15 16:47:16
Also in: linux-fsdevel, linux-mm, linux-xfs

On 5/11/18 12:29 AM, Christoph Hellwig wrote:
On Thu, May 10, 2018 at 03:49:53PM -0600, Andreas Dilger wrote:
quoted
Would it make sense to change the bio_add_page() and bio_add_pc_page()
to use the more common convention instead of continuing the spread of
this non-standard calling convention?  This is doubly problematic since
"off" and "len" are both unsigned int values so it is easy to get them
mixed up, and just reordering the bio_add_page() arguments would not
generate any errors.
We have more than hundred callers.  I don't think we want to create
so much churn just to clean things up a bit without any meaѕurable
benefit.  And even if you want to clean it up I'd rather keep it
away from my iomap/xfs buffered I/O series :)
Yeah let's not do that, I know someone that always gets really grumpy
when changes like that are made. So given that, I think we should retain
the argument order for that we already have for __bio_try_merge_page()
as well.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help