]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: print process name and pid that calls device scanning
authorAnand Jain <anand.jain@oracle.com>
Wed, 2 Oct 2019 10:30:48 +0000 (18:30 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:51 +0000 (12:46 +0100)
commit25c1263e4813ecbdaf91f163250cd3de51914916
treee3e6e159d22e984b14bf2cc1264743aec65d6ca1
parentcfa11f7322e1f9818fe5e4ea5d12f939f66107c1
btrfs: print process name and pid that calls device scanning

Its very helpful if we had logged the device scanner process name to
debug the race condition between the systemd-udevd scan and the user
initiated device forget command.

This patch adds process name and pid to the scan message.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add pid to the message ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c