Re: [PATCH] block: remove redundant bio_uninit from simple direct io

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

 





On 2021/6/28 6:24, Jens Axboe wrote:
On 6/26/21 4:47 AM, Yufen Yu wrote:
Since bio_endio() will call bio_uninit() for us, we can remove
it from current code path.

What about the error path?


Before calling submit_bio(), we don't need bio_uninit(). After
calling submit_bio(), any error path will call bio_endio() to
end the bio. So, I think we can remove it in current path.

Thanks
Yufen



[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