Re: [PATCH v1 02/12] Target/sbc: Set protection operation and relevant checks

2014-02-18 Thread Nicholas A. Bellinger
On Sun, 2014-02-16 at 19:38 +0200, Sagi Grimberg wrote: SBC-3 mandates the protection checks that must be performed in the rdprotect/wrprotect field. Use them. According to backstore device pi_attributes and cdb rdprotect/wrprotect. Signed-off-by: Sagi Grimberg sa...@mellanox.com ---

[PATCH v1 02/12] Target/sbc: Set protection operation and relevant checks

2014-02-16 Thread Sagi Grimberg
SBC-3 mandates the protection checks that must be performed in the rdprotect/wrprotect field. Use them. According to backstore device pi_attributes and cdb rdprotect/wrprotect. Signed-off-by: Sagi Grimberg sa...@mellanox.com --- drivers/target/target_core_sbc.c | 88