On Sun, Feb 14, 2016 at 11:15:30PM +0530, Varun Prakash wrote: > split iscsi_target_rx_thread() into two parts, > 1. iscsi_target_rx_thread() is common to all > transport drivers, it will call Rx function > registered by transport driver. > > 2. iscsit_rx_pdu() is Rx function for > ISCSI_TCP transport. It seems like the cleaner approach would be to have thread management in the driver (or preferably workqueues!) and export a few helpers for common code. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html