Re: [PATCH v3 4/6] [SCSI] Generate uevents for certain Unit Attention codes

2013-06-20 Thread Hannes Reinecke
Hi Ewan, some comments inline: On 06/19/2013 07:42 PM, Ewan D. Milne wrote: > From: "Ewan D. Milne" > > Generate a uevent on the scsi_target object when the following > Unit Attention ASC/ASCQ code is received: > > 3F/0E REPORTED LUNS DATA HAS CHANGED > > Generate a uevent on the scsi_de

Re: [PATCH] LIBISCSI: Added new boot entries in the session sysfs

2013-06-20 Thread Mike Christie
On 06/10/2013 01:34 PM, Eddie Wai wrote: > index fe7f06c..f9cc89b 100644 > --- a/include/scsi/iscsi_if.h > +++ b/include/scsi/iscsi_if.h > @@ -487,6 +487,10 @@ enum iscsi_param { > ISCSI_PARAM_TGT_RESET_TMO, > ISCSI_PARAM_TARGET_ALIAS, > > + ISCSI_PARAM_BOOT_ROOT, > + ISCSI_PA

[PATCH v2] LIBISCSI: Added new boot entries in the session sysfs

2013-06-20 Thread Eddie Wai
v2: Moved the new BOOT params to the end of the iscsi_param enum This is the kernel part of the modification to extract the net params from the ibft sysfs to the iface struct used for the connection request upon sync_session in the open-iscsi util. Three new session sysfs params are defined: boot

Re: [PATCH v2] LIBISCSI: Added new boot entries in the session sysfs

2013-06-20 Thread Mike Christie
On 06/20/2013 12:21 PM, Eddie Wai wrote: > v2: Moved the new BOOT params to the end of the iscsi_param enum > > This is the kernel part of the modification to extract the net params > from the ibft sysfs to the iface struct used for the connection > request upon sync_session in the open-iscsi util

RFC: Allow block drivers to poll for I/O instead of sleeping

2013-06-20 Thread Matthew Wilcox
A paper at FAST2012 (http://static.usenix.org/events/fast12/tech/full_papers/Yang.pdf) pointed out the performance overhead of taking interrupts for low-latency block I/Os. The solution the author investigated was to spin waiting for each I/O to complete. This is inefficient as Linux submits man