]> git.baikalelectronics.ru Git - kernel.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)
commitf8338f65d73bfc0fc6e04e23af6fc3931953a99b
tree06ad73707e520d9d5ee4da699f61200137dc19ae
parent6acf4c145298a08d2d313aac47ff15c2eeff074e
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