public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* tcm_fc comments
@ 2011-05-27 10:24 Christoph Hellwig
  2011-05-27 21:24 ` Nicholas A. Bellinger
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2011-05-27 10:24 UTC (permalink / raw)
  To: kiran.patil, nab; +Cc: linux-scsi


 - please remove all the extra -I lines in EXTRA_CLFAGs, none of them
   should be needed.
 - CONFIGFS_TCM_FC_DEBUG should be used directly in the code instead of
   definining another symbol
 - there's no need for thread_wq, you can just do a wake_up_process
   on the task_struct for the thread.  That also means you don't have
   the races with the kthread API you currently have
 - The set_user_nice in ft_thread needs a comment explaning why you
   really need to mess with priorities here.  I suspect you don't have
   to anyway.
 - There's lots of code like "if (!(acl)) {" with completley superflous
   braces.

In general it would have been nice to have sent a review request to
linux-scsi, especially as most of these items have been commented on
multiple times for other target frontends before.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-27 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 10:24 tcm_fc comments Christoph Hellwig
2011-05-27 21:24 ` Nicholas A. Bellinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox