[stgt] [PATCH] Allow backends to specify which opcodes they support

Ronnie Sahlberg ronniesahlberg at gmail.com
Thu Oct 10 04:43:24 CEST 2013


Tomo, List

Please find a patch that adds an optional "which opceds are supported" array
to the backend template.
RDWR and SHEEPDOG are modified to use these, and the opcodes that are NOT
supported by sheepdog are zeroed out so that tgtd will now respond
correctly with INVALID_OP_CODE if they are sent to a sheepdog backed LUN.

Next will be RBD but there are pending patches to that backend so I will send
and update to it later.


Please comment/review/merge

regards
ronnie sahlberg

--
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