Re: [PATCH] fix BUG with IDE taskfile ioctl and cfq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikulas Patocka <mpatocka@xxxxxxxxxx>
Date: Tue, 6 Apr 2010 19:29:57 -0400 (EDT)

> 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@xxxxxxxxxx>

Applied and queued up for -stable, thanks again Mikulas.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux