Re: [PATCH v2] Hard disk S3 resume time optimization

2013-08-09 Thread Oliver Neukum
On Fri, 2013-08-09 at 01:09 +, Brandt, Todd E wrote: static struct ata_force_ent *ata_force_tbl; static int ata_force_tbl_size; +int ata_resume_status; A single global variable for multiple ports? static char ata_force_param_buf[PAGE_SIZE] __initdata; /* param_buf is thrown away

Re: [PATCH v2] Hard disk S3 resume time optimization

2013-08-09 Thread Alan Stern
Your email messages would be easier to work with if they were wrapped after column 72 or so. On Fri, 9 Aug 2013, Brandt, Todd E wrote: This patch essentially removes the disk spinup wait time from the system S3 resume delay. It can be a very significant improvement on systems with large

RE: [PATCH v2] Hard disk S3 resume time optimization

2013-08-09 Thread Brandt, Todd E
12:25 AM To: Brandt, Todd E Cc: linux-...@vger.kernel.org; linux-scsi@vger.kernel.org; Tejun Heo; Greg Kroah-Hartman; Alan Stern Subject: Re: [PATCH v2] Hard disk S3 resume time optimization On Fri, 2013-08-09 at 01:09 +, Brandt, Todd E wrote: static struct ata_force_ent *ata_force_tbl

RE: [PATCH v2] Hard disk S3 resume time optimization

2013-08-09 Thread Brandt, Todd E
Stern [st...@rowland.harvard.edu] Sent: Friday, August 09, 2013 11:06 AM To: Brandt, Todd E Cc: linux-...@vger.kernel.org; linux-scsi@vger.kernel.org; Oliver Neukum; Tejun Heo; Greg Kroah-Hartman Subject: Re: [PATCH v2] Hard disk S3 resume time optimization Your email messages would be easier

[PATCH v2] Hard disk S3 resume time optimization

2013-08-08 Thread Brandt, Todd E
This patch essentially removes the disk spinup wait time from the system S3 resume delay. It can be a very significant improvement on systems with large SATA disks which can take several seconds to spin up. On the systems I've tested this patch reduces the resume time to around half a second