Re: [Ocfs2-devel] [PATCH 0/8] ocfs2: fix ocfs2 direct io code patch to support sparse file and data ordering semantics

2015-12-09 Thread Joseph Qi
Hi Ryan, On 2015/10/12 14:34, Ryan Ding wrote: > Hi Joseph, > > On 10/08/2015 02:13 PM, Joseph Qi wrote: >> Hi Ryan, >> >> On 2015/10/8 11:12, Ryan Ding wrote: >>> Hi Joseph, >>> >>> On 09/28/2015 06:20 PM, Joseph Qi wrote: Hi Ryan, I have gone through this patch set and done a simple p

Re: [Ocfs2-devel] Buffer read will get starvation in case reading/writing the same file from different nodes concurrently

2015-12-09 Thread Eric Ren
Hi Joseph, On Wed, Dec 09, 2015 at 02:07:56PM +0800, joseph wrote: > On 2015/12/8 16:26, Eric Ren wrote: > > Hi Joseph, > > On Tue, Dec 08, 2015 at 02:15:17PM +0800, joseph wrote: > >> On 2015/12/8 12:51, Eric Ren wrote: > >>> Hi, > >>> > >>> On Tue, Dec 08, 2015 at 11:55:18AM +0800, joseph wrot

[Ocfs2-devel] [PATCH] ocfs2/dlm: wait until DLM_LOCK_RES_SETREF_INPROG is cleared in dlm_deref_lockres_worker

2015-12-09 Thread jiangyiwen
commit f3f854648de6("ocfs2_dlm: Ensure correct ordering of set/clear refmap bit on lockres") still exists a race which can't ensure the ordering is exactly correct. Node1 Node2Node3 umount, migrate lockres to Node2 migrate finished,

Re: [Ocfs2-devel] [PATCH] ocfs2: dlm: fix deadlock due to nested lock

2015-12-09 Thread Junxiao Bi
Please drop this patch, I will send V2 later to avoid a possible starvation issue. Thanks, Junxiao. On 12/03/2015 04:50 PM, Junxiao Bi wrote: > DLM allows nested cluster locking. One node X can acquire a cluster lock > two times before release it. But between these two acquiring, if another > node