commit | d977f4377fbc396b888e12fdb3b13118b09ca7db | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Wed Oct 10 17:37:15 2012 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Tue Nov 06 20:55:45 2012 -0800 |
tree | f3de282b1df951ec599908e24590dbcbac5b9047 | |
parent | 019c4ca621488739b1bfb7597a14ac7f0cbcc908 [diff] |
target: simplify reservations code We do not support host-level reservations for the pscsi backend, and all virtual backends are newere than SCSI-2, so just make the combined SPC-3 + SCSI-2 support the only supported variant and kill the switches for the different implementations, given that this code handles the no-op version just fine. (hch: Update DRF_SPC2_RESERVATIONS lock usage) Signed-off-by: Christoph Hellwig <hch@lst.de>