diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-10-27 08:46:23 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-27 08:46:23 +0100 |
commit | 1a1238a7dd48e48b3bba8f426a1d61c22c80d6d1 (patch) | |
tree | 08a39610689b5da8e8d61701864b8eb257acd6d7 /fs/direct-io.c | |
parent | e6c5bc737ab71e4af6025ef7d150f5a26ae5f146 (diff) | |
download | linux-stable-1a1238a7dd48e48b3bba8f426a1d61c22c80d6d1.tar.gz linux-stable-1a1238a7dd48e48b3bba8f426a1d61c22c80d6d1.tar.bz2 linux-stable-1a1238a7dd48e48b3bba8f426a1d61c22c80d6d1.zip |
cfq-iosched: improve hw_tag detection
If active queue hasn't enough requests and idle window opens, cfq will not
dispatch sufficient requests to hardware. In such situation, current code
will zero hw_tag. But this is because cfq doesn't dispatch enough requests
instead of hardware queue doesn't work. Don't zero hw_tag in such case.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions