Re: Ext4 and scsi commands resubmission

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

 



On 12/28/2010 04:41 AM, torn5 wrote:
Hello all,

in open-iscsi, when network connectivity is lost, scsi commands that
were in-flight at the moment of disconnection are failed to the SCSI layer.
These get resubmitted up to 5 times by the SCSI layer (or so is written
in the open-iscsi docs) and after that they are held in the queue
(device "blocked") until the network connection is restored.

Now the question is: when SCSI resubmits commands to a device, I suppose
they go to the end of the queue for the device, and not at the head like
they were. Am I right?

The request goes to eh head. scsi layer calls blk_requeue_request->elv_requeue_request-> elv_insert(ELEVATOR_INSERT_REQUEUE) and ELEVATOR_INSERT_REQUEUE's case falls through to the ELEVATOR_INSERT_FRONT case.
--
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