diff options
author | Mike Snitzer <snitzer@redhat.com> | 2011-02-11 11:05:46 +0100 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-02-11 11:05:46 +0100 |
commit | 9d5a4e946ce5352f19400b6370f4cd8e72806278 (patch) | |
tree | ba62a2ab56da1f943b0dbcae527c70b817a104de /block/cfq-iosched.c | |
parent | ae1b1539622fb46e51b4d13b3f9e5f4c713f86ae (diff) | |
download | linux-9d5a4e946ce5352f19400b6370f4cd8e72806278.tar.bz2 |
block: skip elevator data initialization for flush requests
Skip elevator initialization for flush requests by passing priv=0 to
blk_alloc_request() in get_request(). As such elv_set_request() is
never called for flush requests.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions