[stgt] WRITE_SAME aio support

ronnie sahlberg ronniesahlberg at gmail.com
Mon Aug 19 01:55:45 CEST 2013


Your initiator uses WS10/16 for unmap/discard ?
(i.e. you mount the filesystem using -o discard in the guest)

STGT currently offers "I support unmapping using both WS10 and 16". We
probably should only do this
for backends that supports these operations,  == bs_rdwr.c and not
indicate support for the others.


What we probably need to do here is to make the support for
WRITESAME10/16 with unmap support optional
on whether the backend supports it.
I can look at adding this once I get some other changes in.



On Wed, Aug 14, 2013 at 2:41 PM, Moussa Ba (moussaba)
<moussaba at micron.com> wrote:
> I am seeing a LOT of WRITE_SAME error messages in the tgt logs. I understand it is not implemented for aio, my question is will this affect array performance . We are using tgt to host datastores for a virtualization workload.
>
>
> tgtd: bs_aio_cmd_submit(211) WRITE_SAME not yet supported for AIO backend
>
>
> Moussa
> --
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list