diff options
author | Mike Snitzer <snitzer@redhat.com> | 2011-02-11 05:05:46 -0500 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-02-11 05:05:46 -0500 |
commit | 9d5a4e946ce5352f19400b6370f4cd8e72806278 (patch) | |
tree | ba62a2ab56da1f943b0dbcae527c70b817a104de /kernel | |
parent | ae1b1539622fb46e51b4d13b3f9e5f4c713f86ae (diff) |
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 'kernel')
0 files changed, 0 insertions, 0 deletions