Re: [dm-devel] [PATCH 3/6] sd: implement the Persistent Reservation API

From: Christoph Hellwig
Date: Thu Oct 15 2015 - 11:32:32 EST


On Thu, Oct 15, 2015 at 08:30:50AM -0700, Bart Van Assche wrote:
> Can you explain why this functionality has been added to the sd driver
> instead of the SCSI core ? Aren't persistent reservations a concept that
> applies to all SCSI device types ?

In theory it does. In practice it's only used by disks/arrays and tapes,
and as tapes don't have a struct block_device this isn't going to be useful
for them.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/