summaryrefslogtreecommitdiffstats
path: root/fs/statfs.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-05-03 13:42:30 +0200
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:52:25 +0200
commitbe9438f0774c21e4de7c4905226c44830cac075a (patch)
treecc1d6e6f87965f2104bf71f81edbaaa396f71c67 /fs/statfs.c
parentbtrfs: fix data race when accessing the last_trans field of a root (diff)
downloadlinux-be9438f0774c21e4de7c4905226c44830cac075a.tar.xz
linux-be9438f0774c21e4de7c4905226c44830cac075a.zip
btrfs: enhance compression error messages
Add more verbose and specific messages to all main error points in compression code for all algorithms. Currently there's no way to know which inode is affected or where in the data errors happened. The messages follow a common format: - what happened - error code if relevant - root and inode - additional data like offsets or lengths There's no helper for the messages as they differ in some details and that would be cumbersome to generalize to a single function. As all the errors are "almost never happens" there are the unlikely annotations done as compression is hot path. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions