summaryrefslogtreecommitdiff
path: root/fs/btrfs/dedupe.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2018-11-21 22:03:12 +0300
committerDavid Sterba <dsterba@suse.com>2019-02-25 16:13:35 +0300
commit8a1bbe1d5cba415c771fe5ff68b83b93701c1d7f (patch)
treeb92b2b2f52ec69e177df6d227f975152fe4ed1b9 /fs/btrfs/dedupe.h
parent5df1136363cabc4d3f92fc91e3f92bd6a5eebd27 (diff)
downloadlinux-8a1bbe1d5cba415c771fe5ff68b83b93701c1d7f.tar.xz
btrfs: be more explicit about allowed flush states
For FLUSH_LIMIT flushers we really can only allocate chunks and flush delayed inode items, everything else is problematic. I added a bunch of new states and it lead to weirdness in the FLUSH_LIMIT case because I forgot about how it worked. So instead explicitly declare the states that are ok for flushing with FLUSH_LIMIT and use that for our state machine. Then as we add new things that are safe we can just add them to this list. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dedupe.h')
0 files changed, 0 insertions, 0 deletions