Re: PING^7 (was Re: [PATCH v2 00/14] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542))

2013-05-29 Thread Vladislav Bolkhovitin
Martin K. Petersen, on 05/28/2013 01:25 PM wrote: Vladislav Linux block layer is purely artificial creature slowly Vladislav reinventing wheel creating more problems, than solving. On the contrary. I do think we solve a whole bunch of problems. Vladislav It enforces approach, where often

[PATCH] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-05-29 Thread Gu Zheng
From 4d4caa16f3886ae910ad6dfe13353fc836f546cc Mon Sep 17 00:00:00 2001 From: Gu Zheng guz.f...@cn.fujitsu.com Date: Wed, 29 May 2013 17:34:22 +0900 Subject: [PATCH] driver/scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation Signed-off-by: Gu Zheng

[PATCH] fix buffer leak after scsi: saner replacements for -proc_info()

2013-05-29 Thread Jan Beulich
That patch failed to set proc_scsi_fops' .release method. Signed-off-by: Jan Beulich jbeul...@suse.com --- drivers/scsi/scsi_proc.c |1 + 1 file changed, 1 insertion(+) --- 3.10-rc3/drivers/scsi/scsi_proc.c +++ 3.10-rc3-scsi-proc-leak/drivers/scsi/scsi_proc.c @@ -84,6 +84,7 @@ static int

Re: [PATCH RESEND] scsi: megaraid: check kzalloc

2013-05-29 Thread Tomas Henzl
On 05/24/2013 11:40 AM, Libo Chen wrote: we should check kzalloc, avoid to hit oops Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/scsi/megaraid.c |4 1 files changed, 4 insertions(+), 0 deletions(-) instead of checking scmd-device, sdev is more appropriate. diff

Scattererd write support

2013-05-29 Thread Tony Aiello
There's T10 work describing scattered write operations and an evolving spec from SNIA about Non-Volatile Memory operations on flash of atomic multiwrite. These take advantage of the fact that flash has no locality and that writing to a vector of block addresses in an atomic manner is not all

Re: [PATCH RESEND] scsi: megaraid: check kzalloc

2013-05-29 Thread Tomas Henzl
On 05/24/2013 11:40 AM, Libo Chen wrote: we should check kzalloc, avoid to hit oops Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/scsi/megaraid.c |4 1 files changed, 4 insertions(+), 0 deletions(-) instead of checking scmd-device, sdev is more appropriate. diff

[PATCH] cxgb4i: add support for t5 adapter

2013-05-29 Thread kxie
[PATCH] cxgb4i: add support for T5 adapter From: Karen Xie k...@chelsio.com Adds support for Chelsio T5 adapter. Signed-off-by: Karen Xie k...@chelsio.com --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 159 +--- 1 files changed, 128 insertions(+), 31 deletions(-)

Re: [PATCH RESEND] scsi: megaraid: check kzalloc

2013-05-29 Thread Libo Chen
On 2013/5/29 23:03, Tomas Henzl wrote: On 05/24/2013 11:40 AM, Libo Chen wrote: we should check kzalloc, avoid to hit oops Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/scsi/megaraid.c |4 1 files changed, 4 insertions(+), 0 deletions(-) instead of checking

Re: [PATCH RESEND] scsi: megaraid: check kzalloc

2013-05-29 Thread Libo Chen
On 2013/5/30 9:38, Libo Chen wrote: On 2013/5/29 23:03, Tomas Henzl wrote: On 05/24/2013 11:40 AM, Libo Chen wrote: we should check kzalloc, avoid to hit oops Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/scsi/megaraid.c |4 1 files changed, 4 insertions(+), 0

Re: [PATCH] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-05-29 Thread Libo Chen
On 2013/5/29 17:33, Gu Zheng wrote: From 4d4caa16f3886ae910ad6dfe13353fc836f546cc Mon Sep 17 00:00:00 2001 From: Gu Zheng guz.f...@cn.fujitsu.com Date: Wed, 29 May 2013 17:34:22 +0900 Subject: [PATCH] driver/scsi: Introduce a help function local_time_seconds() to simplify the getting time

Re: [PATCH] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-05-29 Thread Gu Zheng
On 05/30/2013 11:00 AM, Libo Chen wrote: On 2013/5/29 17:33, Gu Zheng wrote: From 4d4caa16f3886ae910ad6dfe13353fc836f546cc Mon Sep 17 00:00:00 2001 From: Gu Zheng guz.f...@cn.fujitsu.com Date: Wed, 29 May 2013 17:34:22 +0900 Subject: [PATCH] driver/scsi: Introduce a help function