* [PATCH RESEND 0/5] Feature enhancements for ses module
[not found] <1417824557-13470-1-git-send-email-songliubraving@fb.com>
@ 2014-12-06 0:27 ` Song Liu
2014-12-30 12:44 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Song Liu @ 2014-12-06 0:27 UTC (permalink / raw)
To: linux-scsi@vger.kernel.org
Cc: Dan Williams, Hannes Reinecke, Jens Axboe, dgilbert@interlog.com,
Christoph Hellwig
These patches include a few enhancements to ses module:
1: close potential race condition by at enclosure race condition
2,3,4: add enclosure id and device slot, so we can create symlink
in /dev/disk/by-slot:
# ls -d /dev/disk/by-slot/*
/dev/disk/by-slot/enclosure-0x5000ae41fc1310ff-slot0
5: add ability to power on/off device with power_status file in
sysfs.
Due to the complexity of SES standard, the module is not to replace implement all features (which is the goal of sg_ses from sg3_utils). Patch 5 and existing features for device element and array device elements control of HDDs. It is helpful to handle some HDD related fields in the kernel, as the kernel can generate mapping between a device to the SES device element (or array device element):
/sys/block/sdc/device/enclosure_deviceXXX/
With patch 5, we can easily power off a running HDD by
echo off > /sys/block/sdc/device/enclosure_deviceXXX/power_status
This is very useful 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 enclosure component
drivers/misc/enclosure.c | 107 +++++++++++++++++++++++++++++----
drivers/scsi/ses.c | 148 +++++++++++++++++++++++++++++++++++++++-------
include/linux/enclosure.h | 13 +++-
3 files changed, 232 insertions(+), 36 deletions(-)
--
1.8.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND 0/5] Feature enhancements for ses module
2014-12-06 0:27 ` [PATCH RESEND 0/5] Feature enhancements for ses module Song Liu
@ 2014-12-30 12:44 ` Christoph Hellwig
2014-12-30 23:01 ` Song Liu
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2014-12-30 12:44 UTC (permalink / raw)
To: Song Liu
Cc: linux-scsi@vger.kernel.org, Dan Williams, Hannes Reinecke,
Jens Axboe, dgilbert@interlog.com, Christoph Hellwig
This series fails to apply for me, most likely due to whitespace
corruption. Can you resend it usign git-send-email, please?
Also please replace the "SES:" prefix with "ses:", thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH RESEND 0/5] Feature enhancements for ses module
2014-12-30 12:44 ` Christoph Hellwig
@ 2014-12-30 23:01 ` Song Liu
0 siblings, 0 replies; 3+ messages in thread
From: Song Liu @ 2014-12-30 23:01 UTC (permalink / raw)
To: Christoph Hellwig
Cc: linux-scsi@vger.kernel.org, Dan Williams, Hannes Reinecke,
Jens Axboe, dgilbert@interlog.com
Hi Christoph,
I just send the patches (http://marc.info/?l=linux-scsi&m=141997962124647&w=2).
Thanks,
Song
> -----Original Message-----
> From: Christoph Hellwig [mailto:hch@infradead.org]
> Sent: Tuesday, December 30, 2014 4:45 AM
> To: Song Liu
> Cc: linux-scsi@vger.kernel.org; Dan Williams; Hannes Reinecke; Jens Axboe;
> dgilbert@interlog.com; Christoph Hellwig
> Subject: Re: [PATCH RESEND 0/5] Feature enhancements for ses module
>
> This series fails to apply for me, most likely due to whitespace corruption. Can
> you resend it usign git-send-email, please?
>
> Also please replace the "SES:" prefix with "ses:", thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-30 23:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1417824557-13470-1-git-send-email-songliubraving@fb.com>
2014-12-06 0:27 ` [PATCH RESEND 0/5] Feature enhancements for ses module Song Liu
2014-12-30 12:44 ` Christoph Hellwig
2014-12-30 23:01 ` Song Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).