Re: [PATCH 5/9] scsi: set host byte after EH completed

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

 



On Tue, Oct 17, 2023 at 10:14:19AM +0200, Hannes Reinecke wrote:
>> What is the point of passing in the host_byte vs just setting it in
>> the caller?
>>
> Hmm. Sure, could do.
>
>> In fat I'm not even quite sure what the point of the existing helper
>> is, as moving the command to the passed in queue doesn't provide
>> much of a useful abstraction.
>>
> Share your sentiments.
> One could open-code it, but if I move the host_byte setting into the
> caller this function won't be touched at all.

Yes, I can rant about existing code, not just new code :)

> And it's time to clean up the entire list splice-and-dice game in
> SCSI EH once this rework is in; my plan is to move failed commands
> onto a per-entity list, and merge them onto the next higher entity
> list once an escalation fails.
>
> So maybe shelf it for now, and just open-code the host_byte setting
> in the caller.

Sounds good.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux