Re: rationalize the flow in bio_add_page and friends

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

 



On Fri, 12 May 2023 06:38:53 -0700, Christoph Hellwig wrote:
> when reviewing v2 of Jinyoung's "Change the integrity configuration
> method in block" series I noticed that someone made a complete mess of
> the bio_add_page flow, so this untangles this to make the code better
> reusable for adding integrity payloads.  (I'll also have a word with
> younger me when I get the chance about this..)
> 
> Diffstat:
>  bio.c |  123 ++++++++++++++++++++++++++++--------------------------------------
>  1 file changed, 53 insertions(+), 70 deletions(-)
> 
> [...]

Applied, thanks!

[1/8] block: tidy up the bio full checks in bio_add_hw_page
      (no commit info)
[2/8] block: use SECTOR_SHIFT bio_add_hw_page
      (no commit info)
[3/8] block: move the BIO_CLONED checks out of __bio_try_merge_page
      (no commit info)
[4/8] block: move the bi_vcnt check out of __bio_try_merge_page
      (no commit info)
[5/8] block: move the bi_size overflow check in __bio_try_merge_page
      (no commit info)
[6/8] block: downgrade a bio_full call in bio_add_page
      (no commit info)
[7/8] block: move the bi_size update out of __bio_try_merge_page
      (no commit info)
[8/8] block: don't pass a bio to bio_try_merge_hw_seg
      (no commit info)

Best regards,
-- 
Jens Axboe






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux