+ ocfs2-remove-convertion-of-total_backoff-in-dlm_join_domain.patch added to -mm tree
Subject: + ocfs2-remove-convertion-of-total_backoff-in-dlm_join_domain.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 11 Jun 2014 15:25:15 -0700
The patch titled
Subject: ocfs2: remove conversion of total_backoff in dlm_join_domain()
has been added to the -mm tree. Its filename is
ocfs2-remove-convertion-of-total_backoff-in-dlm_join_domain.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-remove-convertion-of-total_backoff-in-dlm_join_domain.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-remove-convertion-of-total_backoff-in-dlm_join_domain.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Xue jiufei <[email protected]>
Subject: ocfs2: remove conversion of total_backoff in dlm_join_domain()
The unit of total_backoff is msecs not jiffies, so no need to do the conversion. Otherwise, the join timeout is not 90 sec.
---
fs/ocfs2/dlm/dlmdomain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fs/ocfs2/dlm/dlmdomain.c renamed from fs/ocfs2/dlm/dlmdomain.c~ocfs2-remove-convertion-of-total_backoff-in-dlm_join_domain +2 -3
@@ -1923,12 +1923,11 @@ static int dlm_join_domain(struct dlm_ct goto bail; } -if (total_backoff > -msecs_to_jiffies (DLM_JOIN_TIMEOUT_MSECS )) { +if (total_backoff >DLM_JOIN_TIMEOUT_MSECS ) { status = -ERESTARTSYS ;mlog (ML_NOTICE ,"Timed out joining dlm domain " "%s after %u msecs\n" , dlm->name, -jiffies_to_msecs (total_backoff)); + total_backoff); goto bail; }
_
Patches currently in -mm which might be from [email protected] are
origin.patch
ocfs2-remove-convertion-of-total_backoff-in-dlm_join_domain.patch ocfs2-free-inode-when-i_count-becomes-zero.patch ocfs2-free-inode-when-i_count-becomes-zero-checkpatch-fixes.patch ocfs2-revert-the-patch-fix-null-pointer-dereference-when-dismount-and-ocfs2rec-simultaneously.patch ocfs2-dlm-do-not-purge-lockres-that-is-queued-for-assert-master.patch ocfs2-do-not-return-dlm_migrate_response_mastery_ref-to-avoid-endlessloop-during-umount.patch