Mikulas Patocka
bc82301463
ide: Fix IDE taskfile with cfq scheduler
...
commit 720fc22a7a upstream.
When ide taskfile access is being used (for example with hdparm --security
commands) and cfq scheduler is selected, the scheduler crashes on BUG in
cfq_put_request.
The reason is that the cfq scheduler is tracking counts of read and write
requests separately; the ide-taskfile subsystem allocates a read request and
then flips the flag to make it a write request. The counters in cfq will
mismatch.
This patch changes ide-taskfile to allocate the READ or WRITE request as
required and don't change the flag later.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-08-02 10:20:52 -07:00
..
2010-07-05 11:10:33 -07:00
2009-09-12 12:01:34 +01:00
2010-07-05 11:11:05 -07:00
2009-09-30 16:12:20 -07:00
2010-07-05 11:10:40 -07:00
2010-02-23 07:37:49 -08:00
2010-01-06 15:03:43 -08:00
2009-09-24 07:21:04 -07:00
2010-08-02 10:20:50 -07:00
2010-07-05 11:11:02 -07:00
2010-02-09 04:50:59 -08:00
2009-11-17 23:15:04 -05:00
2010-05-12 14:57:16 -07:00
2010-02-23 07:37:54 -08:00
2009-09-13 10:27:04 -07:00
2010-02-23 07:37:49 -08:00
2010-05-12 14:57:05 -07:00
2010-07-05 11:11:04 -07:00
2010-01-28 15:01:52 -08:00
2010-03-15 08:49:57 -07:00
2010-08-02 10:20:49 -07:00
2010-07-05 11:10:33 -07:00
2010-08-02 10:20:43 -07:00
2010-05-12 14:57:04 -07:00
2010-08-02 10:20:52 -07:00
2009-09-08 17:30:24 -07:00
2009-10-11 11:20:58 -07:00
2009-11-19 13:16:21 -08:00
2010-04-26 07:41:36 -07:00
2010-07-05 11:11:16 -07:00
2010-04-01 15:58:24 -07:00
2010-04-01 15:58:53 -07:00
2010-01-06 15:05:19 -08:00
2010-03-15 08:49:46 -07:00
2010-07-05 11:11:20 -07:00
2010-07-05 11:10:33 -07:00
2009-09-24 07:21:05 -07:00
2010-04-26 07:41:36 -07:00
2010-01-22 15:18:18 -08:00
2010-01-25 10:49:37 -08:00
2010-05-26 14:29:15 -07:00
2010-02-09 04:50:45 -08:00
2010-08-02 10:20:47 -07:00
2009-10-15 09:58:27 -06:00
2010-07-05 11:10:27 -07:00
2009-09-22 07:17:38 -07:00
2009-09-24 07:21:04 -07:00
2010-08-02 10:20:42 -07:00
2010-01-22 15:18:26 -08:00
2010-04-26 07:41:23 -07:00
2009-09-25 15:09:48 -04:00
2009-09-23 03:49:27 +04:00
2009-11-12 07:26:01 -08:00
2009-09-11 11:28:00 +10:00
2010-02-23 07:37:49 -08:00
2010-07-05 11:10:49 -07:00
2010-02-23 07:37:54 -08:00
2009-09-22 07:17:25 -07:00
2010-08-02 10:20:50 -07:00
2010-08-02 10:20:52 -07:00
2009-10-03 01:16:12 -04:00
2009-08-31 15:15:33 +09:00
2009-12-02 23:58:32 +00:00
2010-08-02 10:20:43 -07:00
2010-07-05 11:11:01 -07:00
2009-07-12 12:22:34 -07:00
2009-11-05 17:33:24 -05:00
2009-11-13 11:36:00 +09:00
2010-07-05 11:11:07 -07:00
2009-10-11 11:20:58 -07:00
2010-05-26 14:29:14 -07:00
2010-08-02 10:20:42 -07:00
2009-09-24 07:21:05 -07:00
2010-05-12 14:57:00 -07:00
2010-04-26 07:41:18 -07:00
2010-07-05 11:10:59 -07:00
2009-06-18 13:04:04 -07:00
2010-05-12 14:57:15 -07:00