zdev: add default queue_depth value for zfcp-lun scsi_device

This avoids exporting explicit settings if it's the default anyway.
I.e. avoid the last line in the example below:

$ chzdev --export - --active --type --all
[active zfcp-lun 0.0.1941:0x500507630904d...:0x4055408f00000000]
scsi_dev/queue_depth=32

Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Steffen Maier
2023-02-10 11:26:53 +01:00
committed by Jan Höppner
parent 7ecaeb1a3d
commit 6d8243d1b1

View File

@@ -346,6 +346,7 @@ static struct attrib zfcp_lun_attr_scsi_queue_depth = {
"of a SCSI device. Note that storage servers typically limit the\n"
"total number of outstanding SCSI commands of all SCSI devices\n"
"accessed from all attached hosts.\n",
.defval = "32",
.accept = ACCEPT_ARRAY(ACCEPT_NUM_GE(1)),
};