Xue jiufei
2015-Dec-02 08:07 UTC
[Ocfs2-devel] Why not utilize ignore_higher to reduce assert master work
Hi all, We found that there may exist lots of assert_master works which seriously delayed other works. Function dlm_assert_master_worker() can ignore the node which is higher than master node. But ignore_higher is always set to 0. So why not utilize this value to reduce assert_master work? I think dlm_master_request_handler() can set ignore_higher to 1 when call dlm_dispatch_assert_master(). Will this introduce other problems? Thanks, Xuejiufei
Junxiao Bi
2015-Dec-03 04:36 UTC
[Ocfs2-devel] Why not utilize ignore_higher to reduce assert master work
On 12/02/2015 04:07 PM, Xue jiufei wrote:> Hi all, > We found that there may exist lots of assert_master works which seriously > delayed other works. Function dlm_assert_master_worker() can ignore the > node which is higher than master node. But ignore_higher is always > set to 0. So why not utilize this value to reduce assert_master work? > I think dlm_master_request_handler() can set ignore_higher to 1 when call > dlm_dispatch_assert_master(). Will this introduce other problems?Looks OK. Master request is sent from lowest node to master node, when master nodes assert the master, it only needs clear the mle on lower nodes. But please do full test in case export some bug. Thanks, Junxiao.> > Thanks, > Xuejiufei >