]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: use op_is_sync to check for synchronous requests
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Nov 2016 13:40:05 +0000 (07:40 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 1 Nov 2016 15:43:26 +0000 (09:43 -0600)
commitd4c4f901d2e32ed5e759c19020fc0f837cf17146
tree1a4d54bf32b13f1235e45117e45299e6e8380a83
parent3decbbf940f5f386ecf3425acf0d82114d79db34
bcache: use op_is_sync to check for synchronous requests

(and remove one layer of masking for the op_is_write call next to it).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/bcache/request.c
drivers/md/bcache/writeback.h