diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-03-02 15:52:51 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-23 13:04:02 -0700 |
commit | 97272fc63f9c067b9c932e5b289f934044615603 (patch) | |
tree | 1ed1cf7b7483da23585bf2c922d668eedaed54f6 /net | |
parent | 1502ccf37a1cafc8ff1f45f8999854b6210abf91 (diff) |
target: Fix volume size misreporting for volumes > 2TB
commit 904f0bc482201fa86e75c330d79dfd11be494cf8 upstream.
the target infrastructure fails to send the correct conventional size
to READ_CAPACITY that force a retry with READ_CAPACITY_16, which reads
the capacity for devices > 2TB. Fix by adding the correct return to
trigger RC(16).
Reported-by: Ben Jarvis <bjarvismn@gmail.com>
Signed-off-by: Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions