[Ocfs2-devel] Performance issue about localalloc

2015-09-10 Thread Joseph Qi
Hi Mark, I have encountered a performance issue about localalloc. ocfs2 volume information: block size = 4k, cluster size = 1M, mount option with localalloc=2048 So in the above circumstance, gd size is 32256M. Suppose I want to create a normal file with size of 50G. Since the localalloc window

Re: [Ocfs2-devel] [RFC] Doubt about dlm_worker

2015-09-10 Thread Joseph Qi
Hi Junxiao & Sunil, Your comments would be appreciated. Thanks, Joseph On 2015/9/6 21:11, Joseph Qi wrote: > Comments for dlm_dispatch_work is described below: > /* Worker function used during recovery. */ > > But actually dlm_worker is used by 4 types of dlm message workers: >

Re: [Ocfs2-devel] [Ocfs2-users] ocfs2-related kernel panic with Linux 4.1.6 kernels

2015-09-10 Thread Joseph Qi
Hi Alan, It is caused by unlocking rw lock twice during dio. I think it is the same bug fixed by commit aa1057b3dec4 ("ocfs2: direct write will call ocfs2_rw_unlock() twice when doing aio+dio"). On 2015/9/11 1:15, Alan Hodgson wrote: > I have a couple of 2-node clusters running a bunch of KVM

Re: [Ocfs2-devel] [RFC] Doubt about dlm_worker

2015-09-10 Thread Sunil Mushran
Sure. It will need to be tested appropriately. On Thu, Sep 10, 2015 at 4:49 AM, Joseph Qi wrote: > Hi Junxiao & Sunil, > Your comments would be appreciated. > > Thanks, > Joseph > > On 2015/9/6 21:11, Joseph Qi wrote: > > Comments for dlm_dispatch_work is described below: