]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't continue setting up space cache when enospc
authorJosef Bacik <jbacik@fb.com>
Thu, 1 Oct 2015 16:55:18 +0000 (12:55 -0400)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:55:36 +0000 (18:55 -0700)
commit015ca698595b179ba6da33fac788c4668ca07ddf
tree77ba00b44557b8183168286752bda5f2175dac46
parent18498a89133467d9cef29690368a69cd0b381ef7
Btrfs: don't continue setting up space cache when enospc

If we hit ENOSPC when setting up a space cache don't bother setting up any of
the other space cache's in this transaction, it'll just induce unnecessary
latency.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c
fs/btrfs/transaction.h