Re: [dm-devel] LSF: Multipathing and path checking question

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

 



Oops, I mashed two topics together. See below.

Mike Christie wrote:
Hannes Reinecke wrote:

FC Transport already maintains an attribute for the path state, and even
sends netlink events if and when this attribute changes. For iSCSI I have

Are you referring to fc_host_post_event? Is the same thing we talked about last year, where you wanted events? Is this in multipath tools now or just in the SLES ones?

For something like FCH_EVT_LINKDOWN, are you going to fail the path at that time or when would the multipath path be marked failed?


I was asking this because it seems we have people always making bugzillas saying they did not want the path to be marked failed for short problems.

There was the problem where we might get DID_ERROR for temporary dropped frame. That would be fixed by just listening to transport events like you explained.

But then I thought there was the case where if we get a linkdown then linkup within a couple seconds, we would not want to transition the multipath path state.

So below while you were talking about when to remove the device, I was talking about when to mark the path failed.




You got my hopes up for a solution in the the long explanation, then you destroyed them :)


Was the reason people did not like this because of the scsi device lifetime issue?


I think we still want someone to set the fast io fail tmo for users when multipath is being used, because we want IO out of the queues and drivers and sent to the multipath layer before dev_loss_tmo if dev_loss_tmo is still going to be a lot longer. fast io fail tmo is usually less than 10 or 5 and for dev_loss_tmo seems like we still have user setting that to minutes.


Can't the transport layers just send two events?
1. On the initial link down when the port/session is blocked.
2. When there fast io fail tmos fire.


So for #2, I just want a way to figure out when the transport is giving up on executing IO and is going to fail everything. At that time, I was thinking we want to mark the path failed.

I guess if multipiath tools is going to set fast io fail, it could also use that as its down timer to decide when to fail the path and not have to send SG IO or a bsg transport command.



Today, instead of #2, the Red Hat multipath tools guy and I were talking about doing a probe with SG_IO. For example we would send down a path tester IO and then wait for it to be failed with DID_TRANSPORT_FAILFAST.

Or for #2 if we cannot have a new event, can we send a transport level bsg request? For iscsi this would be a nop. For FC, I am not sure what it would be?
--
To unsubscribe from this list: 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

--
To unsubscribe from this list: 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