commit | c17d5d5f51f72f24e0e17a4450ae5010bf6962d9 | [log] [tgz] |
---|---|---|
author | Mike Christie <mchristi@redhat.com> | Mon Jul 10 14:53:31 2017 -0500 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Jul 10 20:05:27 2017 -0700 |
tree | b03a0c7110d5f3e0d1b36deac77abe38b886842a | |
parent | 7ee0031786dc3762f61d0ec9171bb75d56a5ac76 [diff] |
target: export lio pgr/alua support as device attr Older kernels could crash or hang if the user write/read some ALUA files with pscsi and tcmu backends. This patch exports if LIO supports executing PGR and ALUA scsi commands/checks for the se_device, so userspace can easily test. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>