On 05/13/2015 12:58 AM, Christoph Hellwig wrote:
On Tue, May 12, 2015 at 10:43:04AM -0700, Andy Grover wrote:
I still see value in PASS_IO, but TCMU_PASS_ALL obviously is a superset of
that so I can live with just that if there isn't agreement on PASS_IO... it
just means userspace (tcmu-runner) needs to emulate more cmds itself.
I'll work on a patch to have TCMU just do PASS_ALL.
PASS_IO does seem useful, but I think it needs a fair amount of work
to get right over the current state, e.g. define what actual commands
you want to send to userspace. Piggybacking on SCSI commands there
and heaving a leaky abstraction needs to go away.
How far is this:
https://git.kernel.org/cgit/linux/kernel/git/grover/linux.git/commit/?h=tcmu-iomode-option7
from what you're describing? This is enumerating all actual commands we
want to send to userspace, is it not?
-- Andy
p.s. still working on the PASS_ALL patch.
--
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