summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-05-09 11:08:47 +0200
committerJens Axboe <axboe@kernel.dk>2018-05-09 16:33:00 +0200
commit934031a12980511c020acf7d91f9035e34d0b5b8 (patch)
tree510dde2e8e992a1a7bf4f112de5e2a419ceab823 /block/blk-core.c
parentblk-wbt: throttle discards like background writes (diff)
downloadlinux-934031a12980511c020acf7d91f9035e34d0b5b8.tar.xz
linux-934031a12980511c020acf7d91f9035e34d0b5b8.zip
block: move some wbt helpers to blk-wbt.c
A few helpers are only used from blk-wbt.c, so move them there, and put wbt_track() behind the CONFIG_BLK_WBT typedef. This is in preparation for changing how the wbt flags are tracked. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions