Re: [PATCH v3] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-05 Thread Manoj Kumar
Brian: Thanks for your review. Responses are inline below. - Manoj Kumar On 6/4/2015 9:38 AM, Brian King wrote: + + write_lock(&cfg->tmf_lock); What is this lock protecting? The only thing it seems to be accomplishing is making sure one thread isn't sending a TMF and another thread is

Re: [PATCH v3] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-04 Thread Brian King
On 06/02/2015 06:55 PM, Matthew R. Ochs wrote: > +/** > + * send_tmf() - sends a Task Management Function (TMF) > + * @afu: AFU to checkout from. > + * @scp: SCSI command from stack. > + * @tmfcmd: TMF command to send. > + * > + * Return: > + * 0 on success > + * SCSI_MLQUEUE_HOST_BUSY

[PATCH v3] cxlflash: Base support for IBM CXL Flash Adapter

2015-06-02 Thread Matthew R. Ochs
SCSI device driver to support filesystem access on the IBM CXL Flash adapter. Signed-off-by: Matthew R. Ochs Signed-off-by: Manoj N. Kumar --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxlflash/Kconfig | 11 + drivers/scsi/cxlflash/Make