]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm: add support for get_unique_id
authorBenjamin Coddington <bcodding@redhat.com>
Thu, 31 Oct 2024 15:06:48 +0000 (11:06 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 20 Nov 2024 10:38:04 +0000 (11:38 +0100)
commitd5f01ace542de62af857fa0bd405cc16f2c45bd6
tree1dfa4103c3d451e46ae7cb1b1d194b86feb85d58
parent19ac19e02ffa318e77f6b086b8fb3917da0aa893
dm: add support for get_unique_id

This adds support to obtain a device's unique id through dm, similar to the
existing ioctl and persistent resevation handling.  We limit this to
single-target devices.

This enables knfsd to export pNFS SCSI luns that have been exported from
multipath devices.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/md/dm.c