Reply.

2013-07-17 Thread Cham Tao
I have a proposal for you in the tune of One Hundred Five Million EUR, after successful transfer, we shall share in the ratio of forty for you and sixty for me. Please reply for specifics. Yours, Mr. Cham Tao Soon Chairman Audit Committee UOB Bank, Singapore -- To unsubscribe from this list:

[PATCH v3] [SCSI] scsi_debug: silence GCC warning

2013-07-17 Thread Paul Bolle
Building scsi_debug.o triggers a GCC warning: drivers/scsi/scsi_debug.c: In function ‘dif_verify’: drivers/scsi/scsi_debug.c:1755:3: warning: ‘csum’ may be used uninitialized in this function [-Wmaybe-uninitialized] This warning was apparently introduced (in v3.11-rc1) by commit

RE: [PATCH V3 1/2] scsi: ufs: Add support for host assisted background operations

2013-07-17 Thread Seungwon Jeon
On Thu, July 11, 2013, Sujit Reddy Thumma wrote: On 7/10/2013 7:01 PM, Seungwon Jeon wrote: I'm not sure that BKOPS with runtime-pm associates. Do you think it's helpful for power management? How about hibernation scheme for runtime-pm? I'm testing and I can introduce soon. Well, I am

RE: [PATCH V3 1/2] scsi: ufs: Add support for sending NOP OUT UPIU

2013-07-17 Thread Seungwon Jeon
On Thu, July 11, 2013, Sujit Reddy Thumma wrote: On 7/10/2013 6:58 PM, Seungwon Jeon wrote: On Tue, July 09, 2013, Sujit Reddy Thumma wrote: As part of device initialization sequence, sending NOP OUT UPIU and waiting for NOP IN UPIU response is mandatory. This confirms that the device UFS

RE: [PATCH V3 2/2] scsi: ufs: Set fDeviceInit flag to initiate device initialization

2013-07-17 Thread Seungwon Jeon
Hi, Sorry for the late response. I had a few days off. On Thu, July 11, 2013, Dolev Raviv wrote: On Tuesday, July 09, 2013, Sujit Reddy Thumma wrote: From: Dolev Raviv dra...@codeaurora.org Allow UFS device to complete its initialization and accept SCSI commands by setting fDeviceInit

RE: mpt2sas,mpt3sas watchdog device removal

2013-07-17 Thread Reddy, Sreekanth
Hi Joe, -Original Message- From: Joe Lawrence [mailto:joe.lawre...@stratus.com] Sent: Tuesday, July 16, 2013 8:52 PM To: James Bottomley Cc: Reddy, Sreekanth; linux-scsi@vger.kernel.org Subject: Re: mpt2sas,mpt3sas watchdog device removal On Tue, 16 Jul 2013 16:03:38 +0400 James

[PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock

2013-07-17 Thread Vaughan Cao
Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock. @exclude is used to record which type of rwsem we are holding. Signed-off-by: Vaughan Cao vaughan@oracle.com --- drivers/scsi/sg.c | 34 +- 1 file changed, 5 insertions(+), 29

[PATCH v4 3/4] [SCSI] sg: checking sdp-detached isn't protected when open

2013-07-17 Thread Vaughan Cao
@detached is set under the protection of sg_index_lock. Without getting the lock, new sfp will be added during sg removal and there is no chance for it to be picked out. So check with sg_index_lock held in sg_add_sfp(). Signed-off-by: Vaughan Cao vaughan@oracle.com --- drivers/scsi/sg.c | 26

[PATCH v4 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking

2013-07-17 Thread Vaughan Cao
Push file descriptor list locking down to per-device locking. Let sg_index_lock only protect device lookup. sdp-detached is also set and checked with this lock held. Signed-off-by: Vaughan Cao vaughan@oracle.com --- drivers/scsi/sg.c | 61

[PATCH v4 1/4] [SCSI] sg: use rwsem to solve race during exclusive open

2013-07-17 Thread Vaughan Cao
A race condition may happen if two threads are both trying to open the same sg with O_EXCL simultaneously. It's possible that they both find fsds list is empty and get_exclude(sdp) returns 0, then they both call set_exclude() and break out from wait_event_interruptible and resume open. Now use

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-07-17 Thread Alexander Gordeev
On Tue, Jul 16, 2013 at 02:38:03PM -0700, Nicholas A. Bellinger wrote: [7.927818] scsi_execute(): Calling blk_mq_free_request [7.927826] scsi 0:0:0:0: Direct-Access ATA ST9500530NS CC03 PQ: 0 ANSI: 5 OK, so INQUIRY response payload is looking as expected here. Yep.

Re: [PATCH 6/7] qla4xxx: Export more firmware info in sysfs

2013-07-17 Thread Mike Christie
On 07/08/2013 06:33 AM, adheer.chandravan...@qlogic.com wrote: static ssize_t @@ -181,8 +179,8 @@ qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, char *buf) { struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); -

Re: [PATCH V3 1/2] scsi: ufs: Add support for host assisted background operations

2013-07-17 Thread Sujit Reddy Thumma
I'm not sure that BKOPS with runtime-pm associates. Do you think it's helpful for power management? How about hibernation scheme for runtime-pm? I'm testing and I can introduce soon. Well, I am thinking on following approach when we introduce power management. ufshcd_runtime_suspend() {

Re: [PATCH V3 1/2] scsi: ufs: Add support for sending NOP OUT UPIU

2013-07-17 Thread Sujit Reddy Thumma
+ * ufshcd_wait_for_register - wait for register value to change + * @hba - per-adapter interface + * @reg - mmio register offset + * @mask - mask to apply to read register value + * @val - wait condition + * @interval_us - polling interval in microsecs + * @timeout_ms - timeout in millisecs +