Re: [2.6.23 PATCH 16/18] dm mpath: rdac

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alasdair G Kergon <agk@...>
Cc: <dm-devel@...>, <linux-kernel@...>, Mike Christie <michaelc@...>
Date: Wednesday, July 11, 2007 - 5:43 pm

On Wed, 11 Jul 2007 22:02:42 +0100
Alasdair G Kergon <agk@redhat.com> wrote:


This defeats lockdep.  Please use DEFINE_SPINLOCK.


These don't have to be implemented as macros.


GFP_ATOMIC is unreliable.  Is it really unavoidable?


I suspect we could call this after dropping the lock?


That's funny-looking and un-typesafe.  Why not do

	sp = &h->inq.c2;

?

(Dittoes in various other places..)


Unneeded (and undesirable) cast of void*.  Please check the whole
patch(set) for this.


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6.23 PATCH 16/18] dm mpath: rdac, Alasdair G Kergon, (Wed Jul 11, 5:02 pm)
Re: [2.6.23 PATCH 16/18] dm mpath: rdac, Andrew Morton, (Wed Jul 11, 5:43 pm)
Re: [dm-devel] Re: [2.6.23 PATCH 16/18] dm mpath: rdac, Chandra Seetharaman, (Wed Jul 11, 9:11 pm)
Re: [dm-devel] Re: [2.6.23 PATCH 16/18] dm mpath: rdac, Chandra Seetharaman, (Wed Jul 11, 6:19 pm)