commit | 08024885a2a3ed432716e9d50046a620a5b2df05 | [log] [tgz] |
---|---|---|
author | Song Liu <songliubraving@fb.com> | Tue Dec 30 14:46:18 2014 -0800 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jan 09 15:44:19 2015 +0100 |
tree | 52e0042dac2c8651641987da49163908c3305e74 | |
parent | 921ce7f5786052749a22a75780f5ce1a456bcdc6 [diff] |
ses: Add power_status to SES device slot 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 <songliubraving@fb.com> Acked-by: Dan Williams <dan.j.williams@intel.com> Reviewed-by: Jens Axboe <axboe@fb.com> Cc: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>