Messages in this thread | | | Date | Sun, 5 Apr 2015 17:40:55 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH 5/7] scsi: add host template init/exit_command hooks |
| |
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@fb.com>
Looks good in general, but please ensure these callsbacks also get invoked in the !mq case.
| |