Re: [PATCH 5/7] scsi: add host template init/exit_command hooks

From: Christoph Hellwig
Date: Sun Apr 05 2015 - 11:41:02 EST


On Fri, Apr 03, 2015 at 09:58:21AM -0600, Jens Axboe wrote:
> If a LLD has hardware commands in the request pdu, then we need some
> helper hooks to help the driver initialize state at load time, and
> potentially to tear down state at rmmod time. Add a host template
> ->init_command() and ->exit_command() hook to help with that.
>
> Signed-off-by: Jens Axboe <axboe@xxxxxx>

Looks good in general, but please ensure these callsbacks also get invoked
in the !mq case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/