]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: disk-io: Show the timing of corrupted tree block explicitly
authorQu Wenruo <wqu@suse.com>
Wed, 20 Mar 2019 06:27:40 +0000 (14:27 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:24 +0000 (19:02 +0200)
commit7e042abee8c365203f8379682b66dfd6dafa74a5
treed24cb088f78341d11be023db4d88831e31d6c773
parent72b925c30be0e69dfd799787ab2699240b17eb34
btrfs: disk-io: Show the timing of corrupted tree block explicitly

Just add one extra line to show when the corruption is detected.
Currently only read time detection is possible.

The planned distinguish line would be:

  read time:
    <detailed report>
    block=XXXXX read time tree block corruption detected

  write time:
    <detailed report>
    block=XXXXX write time tree block corruption detected

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c