virtio_fs: add informative log for new tag discovery
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Sun, 6 Oct 2024 18:43:24 +0000 (21:43 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Nov 2024 23:07:46 +0000 (18:07 -0500)
Enhance the device probing process by adding a log message when a new
virtio-fs tag is successfully discovered. This improvement provides
better visibility into the initialization of virtio-fs devices.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Message-Id: <20241006184324.8497-1-mgurtovoy@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
fs/fuse/virtio_fs.c

index 6404a189e98900a26f4f54338c2defde4bf82a8f..04d7d61cb2b2ce80ef07cde3ffd8e2cbb4da2a38 100644 (file)
@@ -521,6 +521,7 @@ static int virtio_fs_read_tag(struct virtio_device *vdev, struct virtio_fs *fs)
                return -EINVAL;
        }
 
+       dev_info(&vdev->dev, "discovered new tag: %s\n", fs->tag);
        return 0;
 }