Re: [PATCH v2 3/3] blk-zoned: Move more error handling into blk_mq_submit_bio()

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

 



On 12/17/24 3:47 PM, Damien Le Moal wrote:
On 2024/12/17 14:38, Bart Van Assche wrote:
The error handling code in blk_zone_plug_bio() and in the functions
called by blk_zone_plug_bio() cannot be understood without knowing
that these functions are only called by blk_mq_submit_bio(). Move
the error handling code in blk_mq_submit_bio() such that all error
handling code for blk_mq_submit_bio() occurs inside blk_mq_submit_bio()
itself.

I am not a big fan of this. Furthermore, blk_zone_plug_bio() is also called from
drivers/md/dm.c, which would need to have the same amount of additional code.
Not nice.

I will drop this patch.

Thanks,

Bart.





[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