Re: [PATCH] scsi_debug: unify scsi_level in proc and sysfs

2014-01-21 Thread Sha Zhengju
On Tue, Jan 21, 2014 at 11:07 PM, Douglas Gilbert wrote: > On 14-01-21 04:52 AM, Sha Zhengju wrote: >> >> From: Sha Zhengju >> >> There're severel interfaces to show scsi_level value of scsi_debug, >> but they're not in consistent. E.g: >> >> 1) >> #cat /sys/bus/pseudo/drivers/scsi_debug/scsi_lev

Re: [PATCH] scsi_debug: unify scsi_level in proc and sysfs

2014-01-21 Thread Douglas Gilbert
On 14-01-21 04:52 AM, Sha Zhengju wrote: From: Sha Zhengju There're severel interfaces to show scsi_level value of scsi_debug, but they're not in consistent. E.g: 1) #cat /sys/bus/pseudo/drivers/scsi_debug/scsi_level 5 2) #cat /proc/scsi/scsi_debug/7 scsi_debug adapter driver, version 1.82 [2

[PATCH] scsi_debug: unify scsi_level in proc and sysfs

2014-01-21 Thread Sha Zhengju
From: Sha Zhengju There're severel interfaces to show scsi_level value of scsi_debug, but they're not in consistent. E.g: 1) #cat /sys/bus/pseudo/drivers/scsi_debug/scsi_level 5 2) #cat /proc/scsi/scsi_debug/7 scsi_debug adapter driver, version 1.82 [20100324] num_tgts=1, shared (ram) size=1024