WRITE_SAME / UNMAP for fileio backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i'm doing some testing with WRITE_SAME / UNMAP but i do not have any
real hardware that supports these commands. I have configured a LIO
target with a file backend. However when i try to use these commands
with sg_unmap and sg_write_same, i get the following kernel messages:

[ 2279.544606] UNMAP emulation not supported for: fileio
[ 2299.480649] WRITE_SAME w/o UNMAP bit not supported for Block
Discard Emulation
[ 2303.320805] WRITE_SAME emulation not supported for: fileio

Is there any way i can have it emulate UNMAP and WRITE_SAME? I don't
require e.g. UNMAP to really unmap a block should the file backing
store be on an SSD. Basically i'm just looking for a way to test these
commands from an initiator point of view.

Regards,
Geert
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux