Re: [PATCH] btrfs: add device scanned-by process name in the scan message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/2/19 6:39 PM, Nikolay Borisov wrote:


On 2.10.19 г. 13:30 ч., Anand Jain wrote:
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 scanned-by process name to the scan message.

Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>

Same effect can be achieved (for debugging purposes) if you have used
ftrace on device_list_add without needing to patch the kernel.

I'm somewhat indifferent whether this will be merged or not but I
personally don't see much value in it.

 Its always good to provide a completely cooked log messages.
 Half cooked ideas or the log messages leads to more questions
 than answers.

Thanks, Anand



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux