aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-01-02 18:32:11 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2007-01-02 09:46:16 -0800
commitec8acb6904fabb8e741f741ec99bb1c18f2b3dee (patch)
tree9d4da59b2ccc4b1424b90497c7b26778c272ca5a /security/selinux/ss/services.c
parentdc3c3377f03634d351fafdfe35b237b283586c04 (diff)
downloadlinux-ec8acb6904fabb8e741f741ec99bb1c18f2b3dee.tar.gz
[PATCH] cfq-iosched: merging problem
Two issues: - The final return 1 should be a return 0, otherwise comparing cfqq is a noop. - bio_sync() only checks the sync flag, while rq_is_sync() checks both for READ and sync. The latter is what we want. Expand the bio check to include reads, and relax the restriction to allow merging of async io into sync requests. In the future we want to clean up the SYNC logic, right now it means both sync request (such as READ and O_DIRECT WRITE) and unplug-on-issue. Leave that for later. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions