Re: [PATCH 3/6] sd: don't bother spinning up disks on resume

2013-11-11 Thread Sergei Shtylyov
Hello. On 10-11-2013 1:03, Phillip Susi wrote: Don't bother forcing disks to spin up on resume, as they will do so automatically when accessed, and forcing them to spin up slows down the resume. Add a second bit to the manage_start_stop flag to restore the previous behavior. ---

Re: [PATCH 3/6] sd: don't bother spinning up disks on resume

2013-11-11 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/11/2013 8:08 AM, Sergei Shtylyov wrote: -unsigned manage_start_stop:1;/* Let HLD (sd) manage start/stop */ +unsigned manage_start_stop:2;/* Let HLD (sd) manage start/stop */ I think you should better document this 2-bit

[PATCH 3/6] sd: don't bother spinning up disks on resume

2013-11-09 Thread Phillip Susi
Don't bother forcing disks to spin up on resume, as they will do so automatically when accessed, and forcing them to spin up slows down the resume. Add a second bit to the manage_start_stop flag to restore the previous behavior. --- drivers/scsi/sd.c | 6 +++---