Btrfs: set ioprio of scrub readahead to idle
authorStefan Behrens <sbehrens@giantdisaster.de>
Fri, 3 Feb 2012 10:20:04 +0000 (11:20 +0100)
committerJosef Bacik <josef@redhat.com>
Wed, 30 May 2012 14:23:43 +0000 (10:23 -0400)
commit3d136a1131c66f7d26fb171e4c5b0b8baacd3129
treee09f9a755e05fc2a6e21ef87762f5f1f979320f6
parent5bdbeb2187a99d690b374a8c5ec9911fcbcfe739
Btrfs: set ioprio of scrub readahead to idle

Reduce ioprio class of scrub readahead threads to idle priority.
This setting is fixed. This priority has shown the best performance
during all measurements.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
fs/btrfs/ctree.h
fs/btrfs/reada.c