OSDN Git Service

block: print the current process in handle_bad_sector
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Sep 2021 05:27:55 +0000 (07:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:02 +0000 (06:17 -0600)
commit8a3ee6778ef1a9a3bfd3b1134ea29e95d3568271
tree5b63a2a19a556229414aac3d3bd3ee1be44b8a2f
parent322cff70d46c6c230a722684fd65ae6b5f57436e
block: print the current process in handle_bad_sector

Make the bad sector information a little more useful by printing
current->comm to identify the caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20210928052755.113016-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c