Re: [PATCH] block: fix pin count management when merging same-page segments

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

 



On 9/5/23 21:47, Christoph Hellwig wrote:
> There is no need to unpin the added page when adding it to the bio fails
> as that is done by the loop below.  Instead we want to unpin it when adding
> a single page to the bio more than once as bio_release_pages will only
> unpin it once.
> 
> Fixes: d1916c86ccdc ("block: move same page handling from __bio_add_pc_page to the callers")
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>


-- 
Damien Le Moal
Western Digital Research




[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