OSDN Git Service

Btrfs: print btrfs specific info for some fatal error cases
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Fri, 4 Jul 2014 09:59:06 +0000 (17:59 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:28 +0000 (13:37 -0700)
commit29549aec76bd6f1fc8e1723ed5396d65073d6521
treeea9dc4a4111011fed798364c3781851c939fc1af
parentd20983b40e828fdca920b3d678544c6a0967a446
Btrfs: print btrfs specific info for some fatal error cases

Marc argued that if there are several btrfs filesystems mounted,
while users even don't know which filesystem hit the corrupted
errors something like generation verification failure.

Since @extent_buffer structure has a member @fs_info, let's output
btrfs device info.

Reported-by: Marc MERLIN <marc@merlins.org>
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/disk-io.c