diff options
| author | Christoph Hellwig <[email protected]> | 2021-10-21 06:06:03 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-22 14:33:57 +0000 |
| commit | 8c6aabd1c72bc241c55f5b71a86cea5ef28bceca (patch) | |
| tree | 8a466aafe1c4ab3c068a316ba57b99b5da0100f7 /fs/btrfs/dev-replace.c | |
| parent | sd: implement ->get_unique_id (diff) | |
| download | kernel-8c6aabd1c72bc241c55f5b71a86cea5ef28bceca.tar.gz kernel-8c6aabd1c72bc241c55f5b71a86cea5ef28bceca.zip | |
nfsd/blocklayout: use ->get_unique_id instead of sending SCSI commands
Call the ->get_unique_id method to query the SCSI identifiers. This can
use the cached VPD page in the sd driver instead of sending a command
on every LAYOUTGET. It will also allow to support NVMe based volumes
if the draft for that ever takes off.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: J. Bruce Fields <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
