* [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
[not found] <20160114003437.354D28EE1D4@bedivere.hansenpartnership.com>
@ 2016-04-11 8:43 ` Michel Meyers
2016-04-12 2:20 ` Martin K. Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Michel Meyers @ 2016-04-11 8:43 UTC (permalink / raw)
To: linux-scsi; +Cc: Mike Christie
From: Michel Meyers <steltek@tcnnet.com>
SYNOLOGY iSCSI devices do not work with large I/O and SYNOLOGY changed
the identifier of the devices starting with version 6.0 of their OS
("DSM"). (The large I/O problem persists in that release.)
This patch adds the new identifier to the 1024 sector blacklist, the old
one having been added in commit 9055082fb100cc66e20c048251d05159f5f2cfba
"scsi: add Synology to 1024 sector blacklist".
Reported-by: Michel Meyers <steltek@tcnnet.com>
Signed-off-by: Michel Meyers <steltek@tcnnet.com>
---
diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
index 3408578..46b5e2e 100644
--- a/drivers/scsi/scsi_devinfo.c
+++ b/drivers/scsi/scsi_devinfo.c
@@ -232,6 +232,7 @@ static struct {
{"Promise", "", NULL, BLIST_SPARSELUN},
{"QNAP", "iSCSI Storage", NULL, BLIST_MAX_1024},
{"SYNOLOGY", "iSCSI Storage", NULL, BLIST_MAX_1024},
+ {"SYNOLOGY", "IBLOCK", NULL, BLIST_MAX_1024},
{"QUANTUM", "XP34301", "1071", BLIST_NOTQ},
{"REGAL", "CDC-4X", NULL, BLIST_MAX5LUN | BLIST_SINGLELUN},
{"SanDisk", "ImageMate CF-SD1", NULL, BLIST_FORCELUN},
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
2016-04-11 8:43 ` [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist Michel Meyers
@ 2016-04-12 2:20 ` Martin K. Petersen
2016-04-12 8:28 ` Michel Meyers
0 siblings, 1 reply; 8+ messages in thread
From: Martin K. Petersen @ 2016-04-12 2:20 UTC (permalink / raw)
To: Michel Meyers; +Cc: linux-scsi, Mike Christie
>>>>> "Michel" == Michel Meyers <steltek@tcnnet.com> writes:
Michel> SYNOLOGY iSCSI devices do not work with large I/O and SYNOLOGY
Michel> changed the identifier of the devices
Shouldn't we just quirk SYNOLOGY, then?
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
2016-04-12 2:20 ` Martin K. Petersen
@ 2016-04-12 8:28 ` Michel Meyers
2016-04-12 18:42 ` Martin K. Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Michel Meyers @ 2016-04-12 8:28 UTC (permalink / raw)
To: Martin K. Petersen; +Cc: linux-scsi, Mike Christie
On 2016-04-12 4:20, Martin K. Petersen wrote:
>>>>>> "Michel" == Michel Meyers <steltek@tcnnet.com> writes:
>
> Michel> SYNOLOGY iSCSI devices do not work with large I/O and SYNOLOGY
> Michel> changed the identifier of the devices
>
> Shouldn't we just quirk SYNOLOGY, then?
Could be worth it. As far as I can see, they manufacture no directly
attached drives (only NAS devices, which I presume are all affected by
the same problem as mine).
--
Michel Meyers
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
2016-04-12 8:28 ` Michel Meyers
@ 2016-04-12 18:42 ` Martin K. Petersen
2016-04-12 19:18 ` Mike Christie
0 siblings, 1 reply; 8+ messages in thread
From: Martin K. Petersen @ 2016-04-12 18:42 UTC (permalink / raw)
To: Michel Meyers; +Cc: Martin K. Petersen, linux-scsi, Mike Christie
>>>>> "Michel" == Michel Meyers <steltek@tcnnet.com> writes:
>> Shouldn't we just quirk SYNOLOGY, then?
Michel> Could be worth it. As far as I can see, they manufacture no
Michel> directly attached drives (only NAS devices, which I presume are
Michel> all affected by the same problem as mine).
Mike: Any preference?
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
2016-04-12 18:42 ` Martin K. Petersen
@ 2016-04-12 19:18 ` Mike Christie
2016-04-12 19:22 ` Martin K. Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Mike Christie @ 2016-04-12 19:18 UTC (permalink / raw)
To: Martin K. Petersen, Michel Meyers; +Cc: linux-scsi
On 04/12/2016 01:42 PM, Martin K. Petersen wrote:
>>>>>> "Michel" == Michel Meyers <steltek@tcnnet.com> writes:
>
>>> Shouldn't we just quirk SYNOLOGY, then?
>
> Michel> Could be worth it. As far as I can see, they manufacture no
> Michel> directly attached drives (only NAS devices, which I presume are
> Michel> all affected by the same problem as mine).
>
> Mike: Any preference?
>
I think quirking SYNOLOGY is best. It will be the safest route and work
for all devices.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
2016-04-12 19:18 ` Mike Christie
@ 2016-04-12 19:22 ` Martin K. Petersen
2016-04-20 8:46 ` Michel Meyers
0 siblings, 1 reply; 8+ messages in thread
From: Martin K. Petersen @ 2016-04-12 19:22 UTC (permalink / raw)
To: Mike Christie; +Cc: Martin K. Petersen, Michel Meyers, linux-scsi
>>>>> "Mike" == Mike Christie <mchristi@redhat.com> writes:
>> Mike: Any preference?
Mike> I think quirking SYNOLOGY is best. It will be the safest route and
Mike> work for all devices.
Michel: Please spin a new version of the patch.
Thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
2016-04-12 19:22 ` Martin K. Petersen
@ 2016-04-20 8:46 ` Michel Meyers
2016-04-26 2:12 ` Martin K. Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Michel Meyers @ 2016-04-20 8:46 UTC (permalink / raw)
To: Martin K. Petersen, Mike Christie; +Cc: linux-scsi
On 2016-04-12 21:22, Martin K. Petersen wrote:
>>>>>> "Mike" == Mike Christie <mchristi@redhat.com> writes:
>
>>> Mike: Any preference?
>
> Mike> I think quirking SYNOLOGY is best. It will be the safest route and
> Mike> work for all devices.
>
> Michel: Please spin a new version of the patch.
Apologies for not getting back earlier. SYNOLOGY have released a new
version of their OS indicating that they have worked to fix the iSCSI
problem (and another one to actually make that update installable):
https://www.synology.com/en-global/releaseNote/RS10613xs+
- "Fixed multiple issues that might cause iSCSI service to hang under
heavy loading and performing Vmware VAAI commands."
- "Fixed an issue where DSM 6.0-7321 Update 1 could not be normally
installed with Auto-Update."
(They have not updated my support ticket on this case thus far.)
Both my SYNOLOGY appliances now seem to show correct vpd data when queried:
root@server:/# sg_vpd -p bl /dev/sdb
Block limits VPD page (SBC):
Write same non-zero (WSNZ): 1
Maximum compare and write length: 1 blocks
Optimal transfer length granularity: 128 blocks
Maximum transfer length: 8192 blocks
Optimal transfer length: 1152 blocks
Maximum prefetch length: 0 blocks
root@server:/# sg_vpd -p bl /dev/sdd
Block limits VPD page (SBC):
Write same non-zero (WSNZ): 1
Maximum compare and write length: 1 blocks
Optimal transfer length granularity: 128 blocks
Maximum transfer length: 8192 blocks
Optimal transfer length: 512 blocks
Maximum prefetch length: 0 blocks
I am currently running tests with an unmodified Debian 4.4.0-1-amd64
kernel, so unless I can reproduce the problem, I suggest we leave the
current blacklist as is (thereby only quirking the pre-6.0 SYNOLOGY
volumes that are affected) and discard the new patch.
--
Michel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist
2016-04-20 8:46 ` Michel Meyers
@ 2016-04-26 2:12 ` Martin K. Petersen
0 siblings, 0 replies; 8+ messages in thread
From: Martin K. Petersen @ 2016-04-26 2:12 UTC (permalink / raw)
To: Michel Meyers; +Cc: Martin K. Petersen, Mike Christie, linux-scsi
>>>>> "Michel" == Michel Meyers <steltek@tcnnet.com> writes:
Michel> I am currently running tests with an unmodified Debian
Michel> 4.4.0-1-amd64 kernel, so unless I can reproduce the problem, I
Michel> suggest we leave the current blacklist as is (thereby only
Michel> quirking the pre-6.0 SYNOLOGY volumes that are affected) and
Michel> discard the new patch.
Sounds good to me. Thanks for the update!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-04-26 2:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20160114003437.354D28EE1D4@bedivere.hansenpartnership.com>
2016-04-11 8:43 ` [PATCH 1/1] scsi: add Synology DSM 6.0 and higher to 1024 sector blacklist Michel Meyers
2016-04-12 2:20 ` Martin K. Petersen
2016-04-12 8:28 ` Michel Meyers
2016-04-12 18:42 ` Martin K. Petersen
2016-04-12 19:18 ` Mike Christie
2016-04-12 19:22 ` Martin K. Petersen
2016-04-20 8:46 ` Michel Meyers
2016-04-26 2:12 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.