[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Linux-cluster] Re: GFS
- From: Mark Fasheh <mark fasheh oracle com>
- To: Pekka J Enberg <penberg cs helsinki fi>
- Cc: Christoph Hellwig <hch infradead org>, Pekka Enberg <penberg gmail com>, akpm osdl org, linux-cluster redhat com, Zach Brown <zab zabbo net>, linux-kernel vger kernel org
- Subject: [Linux-cluster] Re: GFS
- Date: Wed, 10 Aug 2005 11:21:56 -0700
On Wed, Aug 10, 2005 at 07:57:43PM +0300, Pekka J Enberg wrote:
> Surely avoiding them is preferred but how do you do that when you have to
> mmap'd regions where userspace does memcpy()? The kernel won't much saying
> in it until ->nopage. We cannot grab all the required locks in proper order
> here because we don't know what size the buffer is. That's why I think lock
> sorting won't work of all the cases and thus the problem needs to be taken
> care of by the dlm.
Hmm, well today in OCFS2 if you're not coming from read or write, the lock
is held only for the duration of ->nopage so I don't think we could get into
any deadlocks for that usage.
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
mark fasheh oracle com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]