Re: [PATCH RFC 7/7] block: fix disordered IO in the case recursive split

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

在 2025/08/25 19:07, Christoph Hellwig 写道:
On Mon, Aug 25, 2025 at 05:37:00PM +0800, Yu Kuai wrote:
+void submit_bio_noacct(struct bio *bio)

Maybe just have version of submit_bio_noacct that takes the split
argument, and make submit_bio_noacct a tiny wrapper around it?  That
should create less churns than this version I think.  In fact I suspect
we can actually bypass submit_bio_noacct entirely, all the checks and
accounting in it were already done when submitting the origin bio, so
the bio split helper could just call into submit_bio_noacct_nocheck
directly.


I can do this, I was trying to avoid touching submit_bio_noacct()
because there are many many callers, a tiny wrapper sounds good!

And for bypassing submit_bio_noacct(), I think it's ok, just
blk_throtl_bio() should be called seperately. Perhaps we can do
this later.

Thanks,
Kuai

.






[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux