diff options
author | Josef Bacik <[email protected]> | 2020-10-26 16:57:26 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-11-05 13:02:05 +0100 |
commit | e38fdb716702879a942017c85e84c0a3a9e4af96 (patch) | |
tree | 3f5bd2291839a0bcde9a066058797bc47765921b /tools/perf/util/trace-event-scripting.c | |
parent | a1fbc6750e212c5675a4e48d7f51d44607eb8756 (diff) |
btrfs: print the block rsv type when we fail our reservation
To help with debugging, print the type of the block rsv when we fail to
use our target block rsv in btrfs_use_block_rsv.
This now produces:
[ 544.672035] BTRFS: block rsv 1 returned -28
which is still cryptic without consulting the enum in block-rsv.h but I
guess it's better than nothing.
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ add note from Nikolay ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions