Re: [PATCH 0/2] generate uevent for SCSI sense code

2017-08-23 Thread Song Liu
Dear Hannes and James, Could you please kindly review this patch and let me know what do we need to move forward with this? Thanks and Regards, Song > On Aug 4, 2017, at 10:18 AM, Song Liu <songliubrav...@fb.com> wrote: > > Hi all, > > Could you please share your fee

Re: [PATCH 0/2] generate uevent for SCSI sense code

2017-08-04 Thread Song Liu
Hi all, Could you please share your feedback on this version of the change? Thanks in advance, Song >> On 7/21/17, 3:58 PM, "Song Liu" <songliubrav...@fb.com> wrote: This change is to follow up our discussion on event log for media management during LSF/MM

[PATCH 1/2] scsi: generate uevent for SCSI sense code

2017-07-21 Thread Song Liu
UBSYSTEM=scsi Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/Kconfig | 14 +++ drivers/scsi/scsi_error.c | 42 + drivers/scsi/scsi_lib.c| 58 +- drivers/scsi

[PATCH 0/2] generate uevent for SCSI sense code

2017-07-21 Thread Song Liu
This change is to follow up our discussion on event log for media management during LSF/MM 2017. Changes from RFC v3: Incorporate feedback by Johannes Thumshirn Thanks, Song Song Liu (2): scsi: generate uevent for SCSI sense code scsi: add rate limit to scsi sense code uevent drivers

[PATCH 2/2] scsi: add rate limit to scsi sense code uevent

2017-07-21 Thread Song Liu
. If the difference is smaller than one second, the new event is dropped. Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/hosts.c | 4 drivers/scsi/scsi_error.c | 16 include/scsi/scsi_host.h | 13 + 3 files changed, 33 insertions(+)

[RFC v3 1/2] scsi: generate uevent for SCSI sense code

2017-07-12 Thread Song Liu
UBSYSTEM=scsi Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/Kconfig | 14 +++ drivers/scsi/scsi_error.c | 43 ++ drivers/scsi/scsi_lib.c| 58 +- drivers/scsi

[RFC v3 0/2] generate uevent for SCSI sense code

2017-07-12 Thread Song Liu
This change is to follow up our discussion on event log for media management during LSF/MM 2017. Changes from RFC v2: 1. change rate limit of events from per device to per SCSI host 2. fix bugs from feedbacks Please kindly let me know your thoughts on this. Thanks, Song Song Liu (2): scsi

[RFC v3 2/2] scsi: add rate limit to scsi sense code uevent

2017-07-12 Thread Song Liu
. If the difference is smaller than one second, the new event is dropped. Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/hosts.c | 4 drivers/scsi/scsi_error.c | 16 include/scsi/scsi_host.h | 13 + 3 files changed, 33 insertions(+)

Re: [RFC v2 2/2] scsi: add rate limit to scsi sense code uevent

2017-06-08 Thread Song Liu
> On Jun 6, 2017, at 6:22 AM, Ewan D. Milne <emi...@redhat.com> wrote: > > On Thu, 2017-05-18 at 11:14 -0700, Song Liu wrote: >> This patch adds rate limits to SCSI sense code uevets. Currently, >> the rate limit is hard-coded to 16 events per second. >> &g

Re: [RFC v2 0/2] generate uevent for SCSI sense code

2017-06-01 Thread Song Liu
> On May 18, 2017, at 11:14 AM, Song Liu <songliubrav...@fb.com> wrote: > > This change is to follow up our discussion on event log for media > management during LSF/MM 2017. > > I have included feedbacks from Hannes Reinecke, Ewan D. Milne, and > Benjamin Block. >

[RFC v2 2/2] scsi: add rate limit to scsi sense code uevent

2017-05-18 Thread Song Liu
. If the difference is smaller than one second, the new event is dropped. Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/scsi_error.c | 15 +++ drivers/scsi/scsi_scan.c | 4 include/scsi/scsi_device.h | 12 +++- 3 files changed, 30 insertions(+), 1 deletion(-)

[RFC v2 1/2] scsi: generate uevent for SCSI sense code

2017-05-18 Thread Song Liu
UBSYSTEM=scsi Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/Kconfig | 14 +++ drivers/scsi/scsi_error.c | 43 ++ drivers/scsi/scsi_lib.c| 58 +- drivers/scsi

[RFC v2 0/2] generate uevent for SCSI sense code

2017-05-18 Thread Song Liu
This change is to follow up our discussion on event log for media management during LSF/MM 2017. I have included feedbacks from Hannes Reinecke, Ewan D. Milne, and Benjamin Block. Please kindly let me know your thoughts on this. Thanks, Song Song Liu (2): scsi: generate uevent for SCSI sense

Re: [RFC] scsi: generate uevent for SCSI sense code

2017-05-16 Thread Song Liu
> On May 16, 2017, at 10:00 AM, Benjamin Block <bbl...@linux.vnet.ibm.com> > wrote: > > Hello, > > On Wed, May 03, 2017 at 05:50:13PM -0700, Song Liu wrote: >> This patch adds capability for SCSI layer to generate uevent for SCSI >> sense code. The feature

Re: [RFC] scsi: generate uevent for SCSI sense code

2017-05-15 Thread Song Liu
> On May 15, 2017, at 5:31 AM, Ewan D. Milne wrote: > > On Mon, 2017-05-15 at 08:04 +0200, Hannes Reinecke wrote: >> In general I like the idea; however, the 'filter' thingie is somewhat >> odd. I could somewhat buy into the idea of filtering for sense keys, but >> then I

Re: [RFC] scsi: generate uevent for SCSI sense code

2017-05-15 Thread Song Liu
> On May 14, 2017, at 11:04 PM, Hannes Reinecke <h...@suse.de> wrote: > > On 05/12/2017 09:02 PM, Song Liu wrote: >> >>> On May 3, 2017, at 5:50 PM, Song Liu <songliubrav...@fb.com> wrote: >>> >>> This patch adds capability for SCSI layer t

Re: [RFC] scsi: generate uevent for SCSI sense code

2017-05-12 Thread Song Liu
> On May 3, 2017, at 5:50 PM, Song Liu <songliubrav...@fb.com> wrote: > > This patch adds capability for SCSI layer to generate uevent for SCSI > sense code. The feature is gated by CONFIG_SCSI_SENSE_UEVENT. > > We can configure which sense keys generate uevent for eac

[RFC] scsi: generate uevent for SCSI sense code

2017-05-03 Thread Song Liu
XXX DEVTYPE=scsi_device DRIVER=sd LBA=0 MODALIAS=scsi:t-0x00 SDEV_UA=SCSI_SENSE SENSE_CODE=3/11/14 SEQNUM=4536 SIZE=4096 SUBSYSTEM=scsi Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/Kconfig | 14 +++ drivers/scsi/scsi_error.c | 26 dri

[RFC] generate uevent for SCSI sense code

2017-05-03 Thread Song Liu
This change is to follow up our discussion on event log for media management during LSF/MM 2017. Please kindly let me know your thoughts on this. Thanks, Song Song Liu (1): scsi: generate uevent for SCSI sense code drivers/scsi/Kconfig | 14 +++ drivers/scsi/scsi_error.c

Re: [RFC] scsi: reduce protection of scan_mutex in scsi_remove_device

2017-04-25 Thread Song Liu
> On Apr 25, 2017, at 3:17 PM, Bart Van Assche <bart.vanass...@sandisk.com> > wrote: > > On Tue, 2017-04-25 at 21:17 +, Song Liu wrote: >> I am not sure I fully understand the problem here. If I understand the logic >> correctly, when a device

Re: [RFC] scsi: reduce protection of scan_mutex in scsi_remove_device

2017-04-25 Thread Song Liu
> On Apr 25, 2017, at 1:59 PM, Bart Van Assche <bart.vanass...@sandisk.com> > wrote: > > On Fri, 2017-04-21 at 22:31 +, Song Liu wrote: >> On Apr 21, 2017, at 2:20 PM, Bart Van Assche <bart.vanass...@sandisk.com> >> wrote: >>> On F

Re: [RFC] scsi: reduce protection of scan_mutex in scsi_remove_device

2017-04-25 Thread Song Liu
> On Apr 25, 2017, at 10:52 AM, Bart Van Assche <bart.vanass...@sandisk.com> > wrote: > > On Tue, 2017-04-25 at 17:42 +, Song Liu wrote: >> I have been studying the code recently. I am wondering whether the following >> would work: >> >> 1. Introd

Re: [RFC] scsi: reduce protection of scan_mutex in scsi_remove_device

2017-04-25 Thread Song Liu
> On Apr 25, 2017, at 10:23 AM, Bart Van Assche <bart.vanass...@sandisk.com> > wrote: > > On Fri, 2017-04-21 at 14:13 -0700, Song Liu wrote: >> When a device is deleted through sysfs handle "delete", the code >> locks shost->scan_mutex. If multi

Re: [RFC] scsi: reduce protection of scan_mutex in scsi_remove_device

2017-04-21 Thread Song Liu
> On Apr 21, 2017, at 2:20 PM, Bart Van Assche <bart.vanass...@sandisk.com> > wrote: > > On Fri, 2017-04-21 at 14:13 -0700, Song Liu wrote: >> On the other hand, some devices do long latency IO during deletion, >> for example, sd_shutdown() may d

Re: [RFC] scsi: reduce protection of scan_mutex in scsi_remove_device

2017-04-21 Thread Song Liu
> On Apr 21, 2017, at 2:17 PM, Bart Van Assche <bart.vanass...@sandisk.com> > wrote: > > On Fri, 2017-04-21 at 14:13 -0700, Song Liu wrote: >> When a device is deleted through sysfs handle "delete", [ ... ] > > If I try to use that sysfs attribute

[RFC] scsi: reduce protection of scan_mutex in scsi_remove_device

2017-04-21 Thread Song Liu
erefore, the protection of scan_mutex is only necessary for this function. Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/scsi_sysfs.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c

Re: [PATCH v2] scsi: ses: don't get power status of SES device slot on probe

2017-04-05 Thread Song Liu
> @@ -548,7 +548,6 @@ static void ses_enclosure_data_process(struct > enclosure_device *edev, > ecomp = >component[components++]; > > if (!IS_ERR(ecomp)) { > - ses_get_power_status(edev, ecomp); > if (addl_desc_ptr) > ses_process_descriptor( > ecomp, > -- > 1.8.3.1 > Reviewed-by: Song Liu <songliubrav...@fb.com>

Re: [PATCH v4] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-09 Thread Song Liu
Hi Christoph, IMHO, scan_mutex maybe still needed for other part of scsi_remove_device(). For example, device_del() in sd_remove() and scsi_sysfs_add_devices() in scsi_finish_async_scan() should not run in parallel? On the other hand, other parts of sd_remove(), including sd_shutdown(),

[PATCH v4] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-08 Thread Song Liu
nd start_stop. It is not necessary for these commands to run in series. To reduce latency of parallel "delete" requests, this patch unlock shost->scan_mutex before calling sd_shutdown(), relock the mutex afterwards. Fixed bug from previous version. Reported-by: kernel test robot <fengguang...@intel

Re: [PATCH v3] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-08 Thread Song Liu
> On Feb 8, 2017, at 2:58 PM, Bart Van Assche <bart.vanass...@sandisk.com> > wrote: > > On Wed, 2017-02-08 at 14:53 -0800, Song Liu wrote: >> +try_lock_scan_mutex = mutex_trylock(>scan_mutex); > > This is at least as bad as the approach of your

Re: [PATCH v3] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-08 Thread Song Liu
> On Feb 8, 2017, at 2:53 PM, Song Liu <songliubrav...@fb.com> wrote: > > When a device is deleted through sysfs handle "delete", the code > locks shost->scan_mutex. If multiple devices are deleted at the > same time, these deletes will be handled in series. &

[PATCH v3] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-08 Thread Song Liu
uang...@intel.com> Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/sd.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 9e0783b..14c5815 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -3304,6 +330

Re: [PATCH v2] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-08 Thread Song Liu
> On Feb 8, 2017, at 1:02 PM, Christoph Hellwig <h...@infradead.org> wrote: > > On Wed, Feb 08, 2017 at 12:42:40PM -0800, Song Liu wrote: >> When a device is deleted through sysfs handle "delete", the code >> locks shost->scan_mutex. If multiple

[PATCH v2] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-08 Thread Song Liu
uang...@intel.com> Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/sd.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 9e0783b..22add77 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -3304,6 +330

[PATCH] scsi/sd: release scan_mutex during sync_cache and start_stop

2017-02-07 Thread Song Liu
nd start_stop. It is not necessary for these commands to run in series. To reduce latency of parallel "delete" requests, this patch unlock shost->scan_mutex before long latency commands and relock the mutex after the command. Signed-off-by: Song Liu <songliubrav...@fb.com> --- drivers/scsi/sd

[PATCH] ses: clear warning for unused variable

2015-01-05 Thread Song Liu
-by: Song Liu songliubrav...@fb.com Acked-by: Dan Williams dan.j.willi...@intel.com Reported-by: kbuild test robot fengguang...@intel.com --- drivers/misc/enclosure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/enclosure.c b/drivers/misc/enclosure.c index 3289d4d

[PATCH 4/5] ses: add reliable slot attribute

2014-12-30 Thread Song Liu
which is guaranteed unique, and usually mirrors the slot number. Cleaned up the unused ses_component.desc in the process. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed-by: Jens Axboe ax...@fb.com Reviewed-by: Hannes Reinecke h...@suse.de

[PATCH 1/5] ses: close potential registration race

2014-12-30 Thread Song Liu
From: Dan Williams dan.j.willi...@intel.com The slot and address fields have a small window of instability when userspace can read them before initialization. Separate enclosure_component allocation from registration. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu

[PATCH 5/5] ses: Add power_status to SES device slot

2014-12-30 Thread Song Liu
Add power_status to SES device slot, so we can power on/off the HDDs behind the enclosure. Check firmware status in ses_set_* before sending control pages to firmware. Signed-off-by: Song Liu songliubrav...@fb.com Acked-by: Dan Williams dan.j.willi...@intel.com Reviewed-by: Jens Axboe ax

[PATCH 0/5] Feature enhancements for ses module

2014-12-30 Thread Song Liu
for systems like Cold Storage, where HDDs are being powered \ on/off frequently Dan Williams (4): ses: close potential registration race ses: generate KOBJ_CHANGE on enclosure attach ses: add enclosure logical id ses: add reliable slot attribute Song Liu (1): ses: Add power_status to SES

[PATCH 3/5] ses: add enclosure logical id

2014-12-30 Thread Song Liu
From: Dan Williams dan.j.willi...@intel.com Export the NAA logical id for the enclosure. This is optionally available from the sas_transport_class, but it is really a property of the enclosure. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com

[PATCH 2/5] ses: generate KOBJ_CHANGE on enclosure attach

2014-12-30 Thread Song Liu
topology has settled. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed-by: Jens Axboe ax...@fb.com Reviewed-by: Hannes Reinecke h...@suse.de --- drivers/scsi/ses.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi

RE: [PATCH RESEND 0/5] Feature enhancements for ses module

2014-12-30 Thread Song Liu
Hi Christoph, I just send the patches (http://marc.info/?l=linux-scsim=141997962124647w=2). Thanks, Song -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Tuesday, December 30, 2014 4:45 AM To: Song Liu Cc: linux-scsi@vger.kernel.org; Dan Williams

[PATCH RESEND 2/5] SES: generate KOBJ_CHANGE on enclosure attach

2014-12-05 Thread Song Liu
topology has settled. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed-by: Jens Axboe ax...@fb.com Reviewed-by: Hannes Reinecke h...@suse.de --- drivers/scsi/ses.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH RESEND 3/5] SES: add enclosure logical id

2014-12-05 Thread Song Liu
From: Dan Williams dan.j.willi...@intel.com Export the NAA logical id for the enclosure. This is optionally available from the sas_transport_class, but it is really a property of the enclosure. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com

[PATCH RESEND 4/5] SES: add reliable slot attribute

2014-12-05 Thread Song Liu
number which is guaranteed unique, and usually mirrors the slot number. Cleaned up the unused ses_component.desc in the process. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed-by: Jens Axboe ax...@fb.com Reviewed-by: Hannes Reinecke h

[PATCH RESEND 0/5] Feature enhancements for ses module

2014-12-05 Thread Song Liu
: add reliable slot attribute Song Liu (1): SES: Add power_status to SES enclosure component drivers/misc/enclosure.c | 107 + drivers/scsi/ses.c| 148 +++--- include/linux/enclosure.h | 13 +++- 3 files changed

[PATCH RESEND 5/5] SES: Add power_status to SES enclosure component

2014-12-05 Thread Song Liu
Add power_status to SES enclosure component, so we can power on/off the HDDs behind the enclosure. Check firmware status in ses_set_* before sending control pages to firmware. Signed-off-by: Song Liu songliubrav...@fb.com Acked-by: Dan Williams dan.j.willi...@intel.com Reviewed-by: Jens Axboe

[PATCH RESEND 1/5] SES: close potential registration race

2014-12-05 Thread Song Liu
From: Dan Williams dan.j.willi...@intel.com The slot and address fields have a small window of instability when userspace can read them before initialization. Separate enclosure_component allocation from registration. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu

RE: [PATCH 0/5] Feature enhancements for ses module

2014-10-27 Thread Song Liu
, and power_status of each HDD without issue. Please let me know your suggestion on this. Thanks, Song -Original Message- From: Song Liu Sent: Wednesday, October 22, 2014 8:42 PM To: 'dgilb...@interlog.com'; Jens Axboe; linux-scsi@vger.kernel.org Cc: Hannes Reinecke; Dan Williams

RE: [PATCH 0/5] Feature enhancements for ses module

2014-10-22 Thread Song Liu
; + dest_desc[3] = 0x3c; Would this work for device that rejects request with 1 in RESERVED areas? Thanks, Song -Original Message- From: Douglas Gilbert [mailto:dgilb...@interlog.com] Sent: Wednesday, October 22, 2014 3:29 PM To: Jens Axboe; Song Liu; linux-scsi@vger.kernel.org Cc: Hannes

RE: [PATCH 0/5] Feature enhancements for ses module

2014-10-22 Thread Song Liu
[mailto:dgilb...@interlog.com] Sent: Wednesday, October 22, 2014 6:17 PM To: Song Liu; Jens Axboe; linux-scsi@vger.kernel.org Cc: Hannes Reinecke; Dan Williams; Christoph Hellwig Subject: Re: [PATCH 0/5] Feature enhancements for ses module On 14-10-23 01:01 AM, Song Liu wrote: Hi Doug

RE: [PATCH 1/5] SES: close potential registration race

2014-09-12 Thread Song Liu
read them before initialization. Separate enclosure_component allocation from registration. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed-by: Jens Axboe ax...@fb.com Cc: Hannes Reinecke h...@suse.de --- drivers/misc/enclosure.c | 36

RE: [PATCH 2/5] SES: generate KOBJ_CHANGE on enclosure attach

2014-09-12 Thread Song Liu
and ses modules udev needs notification when the new interface files/links are available. Otherwise, any udev rules specified for the disk cannot assume that the enclosure topology has settled. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed

RE: [PATCH 4/5] SES: add reliable slot attribute

2014-09-12 Thread Song Liu
-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed-by: Jens Axboe ax...@fb.com Reviewed-by: Hannes Reinecke h...@suse.de --- drivers/misc/enclosure.c | 20 +++- drivers/scsi/ses.c| 17 - include/linux/enclosure.h

RE: [PATCH 3/5] SES: add enclosure logical id

2014-09-12 Thread Song Liu
the sas_transport_class, but it is really a property of the enclosure. Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Song Liu songliubrav...@fb.com Reviewed-by: Jens Axboe ax...@fb.com Cc: Hannes Reinecke h...@suse.de --- drivers/misc/enclosure.c | 13 + drivers/scsi/ses.c

RE: [PATCH 5/5] SES: Add power_status to SES enclosure component

2014-09-12 Thread Song Liu
: Thursday, September 4, 2014 12:59 AM To: Song Liu; linux-scsi@vger.kernel.org Cc: Dan Williams; Jens Axboe Subject: Re: [PATCH 5/5] SES: Add power_status to SES enclosure component On 08/25/2014 07:34 PM, Song Liu wrote: From: Song Liu [mailto:songliubrav...@fb.com] Sent: Monday, August 25

RE: [PATCH 5/5] SES: Add power_status to SES enclosure component

2014-09-12 Thread Song Liu
From 53549716d9f965e59f3a84feb5ebae9d18232b52 Mon Sep 17 00:00:00 2001 From: Song Liu songliubrav...@fb.com Date: Tue, 19 Aug 2014 23:58:58 -0700 Subject: [PATCH 5/5] SES: Add power_status to SES enclosure component Add power_status to SES enclosure component, so we can power on/off the HDDs

[PATCH 2/5] SES: generate KOBJ_CHANGE on enclosure attach

2014-08-25 Thread Song Liu
From: Song Liu [mailto:songliubrav...@fb.com] Sent: Monday, August 25, 2014 10:26 AM To: Song Liu Cc: Dan Williams; Hannes Reinecke Subject: [PATCH 2/5] SES: generate KOBJ_CHANGE on enclosure attach From: Dan Williams dan.j.willi...@intel.com In support of a /dev/disk/by-slot populated

[PATCH 4/5] SES: add reliable slot attribute

2014-08-25 Thread Song Liu
From: Song Liu [mailto:songliubrav...@fb.com] Sent: Monday, August 25, 2014 10:26 AM To: Song Liu Cc: Dan Williams; Hannes Reinecke Subject: [PATCH 4/5] SES: add reliable slot attribute From: Dan Williams dan.j.willi...@intel.com The name provided by firmware is in a vendor specific format

[PATCH 5/5] SES: Add power_status to SES enclosure component

2014-08-25 Thread Song Liu
From: Song Liu [mailto:songliubrav...@fb.com] Sent: Monday, August 25, 2014 10:26 AM To: Song Liu Cc: Hannes Reinecke Subject: [PATCH 5/5] SES: Add power_status to SES enclosure component Add power_status to SES enclosure component, so we can power on/off the HDDs behind the enclosure. Check

[PATCH 0/5] Feature enhancements for ses module

2014-08-25 Thread Song Liu
From: Song Liu [mailto:songliubrav...@fb.com] Sent: Monday, August 25, 2014 10:26 AM To: Song Liu Subject: [PATCH 0/5] Feature enhancements for ses module These patches include a few enhancements to ses module: 1: close potential race condition by at enclosure race condition 2,3,4: add

[PATCH 3/5] SES: add enclosure logical id

2014-08-25 Thread Song Liu
From: Song Liu [mailto:songliubrav...@fb.com] Sent: Monday, August 25, 2014 10:26 AM To: Song Liu Cc: Dan Williams; Hannes Reinecke Subject: [PATCH 3/5] SES: add enclosure logical id From: Dan Williams dan.j.willi...@intel.com Export the NAA logical id for the enclosure. This is optionally