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

2015-04-03 Thread Jens Axboe
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 --- dr

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

2015-04-05 Thread Christoph Hellwig
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_c