Re: [PATCH 3/3] target/file: Fix UNMAP with DIF protection support

2015-04-15 Thread Nicholas A. Bellinger
On Mon, 2015-04-13 at 23:21 +0900, Akinobu Mita wrote: When UNMAP command is issued with DIF protection support enabled, the protection info for the unmapped region is remain unchanged. So READ command for the region causes data integrity failure. This fixes it by invalidating protection

Re: [PATCH 3/3] target/file: Fix UNMAP with DIF protection support

2015-04-13 Thread Martin K. Petersen
Akinobu == Akinobu Mita akinobu.m...@gmail.com writes: Akinobu When UNMAP command is issued with DIF protection support Akinobu enabled, the protection info for the unmapped region is remain Akinobu unchanged. So READ command for the region causes data Akinobu integrity failure. Akinobu This

Re: [PATCH 3/3] target/file: Fix UNMAP with DIF protection support

2015-04-13 Thread Sagi Grimberg
On 4/13/2015 5:21 PM, Akinobu Mita wrote: When UNMAP command is issued with DIF protection support enabled, the protection info for the unmapped region is remain unchanged. So READ command for the region causes data integrity failure. This fixes it by invalidating protection info for the