Re: [RFC PATCH 2/4] convert dm to blkerr error values

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

 



goggin, edward wrote:
Mike,

Can't dec_pending now see different error values for the
possibly multiple bio clones of a single original bio?

Yep.

How should it decide which error gets propagated up to
the original bio?

Have no idea really. We have this problem if the bio gets partially completed with different errors for different parts too. I think this can happen in SCSI if the front were to get a medium error.



Looks like the old code and your new code just take the error
value from the last completed bio which has an error.  While
this was probably OK when the only error value was -ENXIO, we
may now need some logic in dec_pending to decide which error
value has more significance.


Yeah all of that was on the TODO under my comment:

Some temporary crap I will fix is the dec_pending fucntions.
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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