Re: Observing Softlockup's while running heavy IOs

2016-09-01 Thread Bart Van Assche
On 09/01/2016 03:31 AM, Sreekanth Reddy wrote: I reduced the ISR workload by one third in-order to reduce the time that is spent per CPU in interrupt context, even then I am observing softlockups. As I mentioned before only same single CPU in the set of CPUs(enabled in affinity_hint) is busy wit

Re: Block-level access

2016-09-01 Thread Bart Van Assche
On 09/01/2016 02:48 PM, Alex Austin wrote: CC'ing linux-scsi and linux-block. Also, please CC me in replies. On Thu, Sep 1, 2016 at 4:43 PM, Alex Austin wrote: Hello, What is the most performant way to directly interface with an attached hard drive? I've so far used read()/write() on /dev/sd_

RE: [PATCH v5 4/8] char: rpmb: provide a user space interface

2016-09-01 Thread Winkler, Tomas
> > On Sun, Aug 07, 2016 at 09:44:03AM +, Winkler, Tomas wrote: > > > > > > On Mon 2016-07-18 23:27:49, Tomas Winkler wrote: > > > > The user space API is achieved via two synchronous IOCTL. > > > > > > IOCTLs? > > > > Will fix > > > > > > Simplified one, RPMB_IOC_REQ_CMD, were read result cy

RE: [PATCH v5 3/8] char: rpmb: add device attributes

2016-09-01 Thread Winkler, Tomas
> > On Mon, Jul 18, 2016 at 11:27:48PM +0300, Tomas Winkler wrote: > > Add attribute type that displays underlay storage type technology > > EMMC, UFS, and attribute id, that displays underlay storage device id. > > For EMMC this would be content of CID and for UFS serial number from > > the devic

Re: Block-level access

2016-09-01 Thread Alex Austin
CC'ing linux-scsi and linux-block. Also, please CC me in replies. On Thu, Sep 1, 2016 at 4:43 PM, Alex Austin wrote: > Hello, > What is the most performant way to directly interface with an attached hard > drive? I've so far used read()/write() on /dev/sd_ but I find error handling > exceedingly

RE: [PATCH v5 5/8] char: rpmb: add RPMB simulation device

2016-09-01 Thread Winkler, Tomas
> > On Mon, Jul 18, 2016 at 11:27:50PM +0300, Tomas Winkler wrote: > > This is a simple platform device used for testing the RPMB subsystem. > > > > The module currently supports two configuration options: > > 1. max_wr_blks: for specifying max blocks that can be written in a > > single command 2.

Re: [PATCH v5 4/8] char: rpmb: provide a user space interface

2016-09-01 Thread Greg Kroah-Hartman
On Thu, Sep 01, 2016 at 08:05:26PM +, Winkler, Tomas wrote: > > > > > On Sun, Aug 07, 2016 at 09:44:03AM +, Winkler, Tomas wrote: > > > > > > > > On Mon 2016-07-18 23:27:49, Tomas Winkler wrote: > > > > > The user space API is achieved via two synchronous IOCTL. > > > > > > > > IOCTLs? >

Re: [PATCH v5 5/8] char: rpmb: add RPMB simulation device

2016-09-01 Thread Greg Kroah-Hartman
On Thu, Sep 01, 2016 at 08:25:28PM +, Winkler, Tomas wrote: > > On Mon, Jul 18, 2016 at 11:27:50PM +0300, Tomas Winkler wrote: > > > This is a simple platform device used for testing the RPMB subsystem. > > > +static struct platform_device *rpmb_sim_pdev; > > > > A platform device? Ick, no pl

Re: [PATCH] tcm_qla2xxx Add SCSI command jammer/discard capability to the tcm_qla2xxx module - enhancements V2 (corrected)

2016-09-01 Thread Himanshu Madhani
On 8/30/16, 2:49 PM, "Laurence Oberman" wrote: >Hello Himanshu and Nicholas, > >Enhancements to the tcm_debug code. >This is patch V2 (final) as V1 had issues. > >Added the possibility of blocking only specific SCSI data movement commands >but allowing TUR'S to pass. >This has been helpful for

Re: Time to make dynamically allocated devt the default for scsi disks?

2016-09-01 Thread James Bottomley
On Mon, 2016-08-29 at 11:16 -0700, Bart Van Assche wrote: > On 08/14/2016 10:21 AM, James Bottomley wrote: > > diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c > > index d3e852a..222771d 100644 > > --- a/drivers/scsi/sd.c > > +++ b/drivers/scsi/sd.c > > @@ -3000,7 +3000,13 @@ static void sd_probe

Re: [PATCH V2 14/15] smartpqi: add smartpqi.txt

2016-09-01 Thread Tomas Henzl
On 31.8.2016 21:55, Don Brace wrote: > added Documentation/scsi/smartpqi.txt > > Reviewed-by: Kevin Barnett > Reviewed-by: Scott Benesh > Reviewed-by: Johannes Thumshirn > Signed-off-by: Don Brace Reviewed-by: Tomas Henzl -- To unsubscribe from this list: send the line "unsubscribe linux-scs

Re: [PATCH] [SCSI] qla4xxx: mark symbols static where possible

2016-09-01 Thread Nilesh Javali
On 29/08/16 4:16 PM, "Baoyou Xie" wrote: >We get 1 warning when build kernel with W=1: >drivers/scsi/qla4xxx/ql4_nx.c:1846:10: warning: no previous prototype for >'ql4_84xx_ipmdio_rd_reg' [-Wmissing-prototypes] > >In fact, this function is only used in the file in which it is >declared and don'

Re: Observing Softlockup's while running heavy IOs

2016-09-01 Thread Sreekanth Reddy
On Fri, Aug 19, 2016 at 9:26 PM, Bart Van Assche wrote: > On 08/19/2016 04:44 AM, Sreekanth Reddy wrote: >> >> [ +0.000439] __blk_mq_run_hw_queue() finished after 10058 ms >> [ ... ] >> [ +0.05] [] ? finish_task_switch+0x6b/0x200 >> [ +0.06] [] __schedule+0x36c/0x950 >> [ +0.02]

Re: [PATCH V2 15/15] smartqi: bump driver version

2016-09-01 Thread Johannes Thumshirn
On Wed, Aug 31, 2016 at 02:55:36PM -0500, Don Brace wrote: > From: Kevin Barnett > > Reviewed-by: Scott Teel > Reviewed-by: Scott Benesh > Reviewed-by: Tomas Henzl > Signed-off-by: Kevin Barnett > Signed-off-by: Don Brace > --- Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn

Re: [PATCH V2 09/15] smartpqi: minor function reformating

2016-09-01 Thread Johannes Thumshirn
On Wed, Aug 31, 2016 at 02:54:59PM -0500, Don Brace wrote: > From: Kevin Barnett > > reformatted pqi_num_elements_free() to match the rest of the driver > > Reviewed-by: Scott Teel > Reviewed-by: Scott Benesh > Reviewed-by: Tomas Henzl > Signed-off-by: Kevin Barnett > Signed-off-by: Don Brac