Files
linux/drivers
Mikulas Patocka 720fc22a7a ide: Fix IDE taskfile with cfq scheduler
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>
2010-04-06 16:43:33 -07:00
..
2010-03-24 14:38:37 +01:00
2010-03-23 09:39:08 -04:00
2010-03-15 16:00:47 -07:00
2010-03-06 11:26:28 -08:00
2010-03-22 16:33:31 +01:00
2010-03-14 20:08:38 -04:00
2010-03-12 15:52:43 -08:00
2010-03-24 16:31:19 -07:00
2010-03-07 17:04:51 -08:00
2010-03-06 11:26:28 -08:00