]> asedeno.scripts.mit.edu Git - linux.git/commit
btrfs: add enospc debug messages for ticket failure
authorJosef Bacik <josef@toxicpanda.com>
Thu, 22 Aug 2019 19:19:04 +0000 (15:19 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:19 +0000 (14:59 +0200)
commit84fe47a4be931d506670a1f126c477f5c17d3a76
tree06ad73707e520d9d5ee4da699f61200137dc19ae
parent0096420adb036b143d6c42ad7c02a945b3e1119c
btrfs: add enospc debug messages for ticket failure

When debugging weird enospc problems it's handy to be able to dump the
space info when we wake up all tickets, and see what the ticket values
are.  This helped me figure out cases where we were enospc'ing when we
shouldn't have been.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c