[Ocfs2-devel] [PATCH 3/3] ocfs2: remove unreachable code in __ocfs2_recovery_thread()

2015-01-29 Thread Daeseok Youn
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/journal.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index ca11c83..ff53192 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c @@ -1462,7 +1462,6 @@ bail:

[Ocfs2-devel] [PATCH 2/3] ocfs2: removes mlog_errno() call twice in ocfs2_find_dir_space_el()

2015-01-29 Thread Daeseok Youn
The mlog_errno() function is called twice when some functions are failed. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/dir.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 940be6d..b08050b 100644 ---

[Ocfs2-devel] [PATCH v3] ocfs2: Use 64bit variables to track heartbeat time

2015-01-29 Thread Tina Ruchandani
o2hb_elapsed_msecs computes the time taken for a disk heartbeat. 'struct timeval' variables are used to store start and end times. On 32-bit systems, the 'tv_sec' component of 'struct timeval' will overflow in year 2038 and beyond. This patch solves the overflow with the following: 1. Replace

[Ocfs2-devel] [PATCH 1/3] ocfs2: remove unreachable code

2015-01-29 Thread Daeseok Youn
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/dir.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 319e786..940be6d 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@ -3513,7 +3513,6 @@ next: de =

Re: [Ocfs2-devel] [RFC] ocfs2/dlm: support range lock

2015-01-29 Thread Wengang Wang
在 2015年01月29日 15:47, yangwenfang 写道: On 2015/1/29 8:05, Goldwyn Rodrigues wrote: Hi Yangwenfang, I appreciate the effort in this regard. On 01/26/2015 06:28 AM, yangwenfang wrote: What: Byte range lock is applied to lock a region of a file to accelerate reading/writing concurrently.

Re: [Ocfs2-devel] [RFC] ocfs2/dlm: support range lock

2015-01-29 Thread Goldwyn Rodrigues
Yangwenfang, On 01/29/2015 12:42 AM, yangwenfang wrote: On 2015/1/27 15:08, Srinivas Eeda wrote: Hi Yangwenfang, thank you very much for initiating this RFC :). This feature is long due for OCFS2 and we are also interested in implementing this feature. Wengang(cc'ed) has been looking into

Re: [Ocfs2-devel] [RFC] ocfs2/dlm: support range lock

2015-01-29 Thread Goldwyn Rodrigues
Yangwenfang, On 01/29/2015 12:42 AM, yangwenfang wrote: On 2015/1/27 15:08, Srinivas Eeda wrote: Hi Yangwenfang, thank you very much for initiating this RFC :). This feature is long due for OCFS2 and we are also interested in implementing this feature. Wengang(cc'ed) has been looking into

Re: [Ocfs2-devel] [RFC] ocfs2/dlm: support range lock

2015-01-29 Thread Xue jiufei
Hi Goldwyn, On 2015/1/29 19:04, Goldwyn Rodrigues wrote: Yangwenfang, On 01/29/2015 12:42 AM, yangwenfang wrote: On 2015/1/27 15:08, Srinivas Eeda wrote: Hi Yangwenfang, thank you very much for initiating this RFC :). This feature is long due for OCFS2 and we are also interested in

Re: [Ocfs2-devel] [RFC] ocfs2/dlm: support range lock

2015-01-29 Thread yangwenfang
On 2015/1/29 16:06, Wengang Wang wrote: On 2015/1/29 8:05, Goldwyn Rodrigues wrote: Hi Yangwenfang, I appreciate the effort in this regard. On 01/26/2015 06:28 AM, yangwenfang wrote: What: Byte range lock is applied to lock a region of a file to accelerate reading/writing concurrently.

Re: [Ocfs2-devel] [RFC] ocfs2/dlm: support range lock

2015-01-29 Thread yangwenfang
On 2015/1/30 14:02, Wengang Wang wrote: Hi Wenfang, 在 2015年01月30日 11:54, yangwenfang 写道: On 2015/1/29 16:06, Wengang Wang wrote: On 2015/1/29 8:05, Goldwyn Rodrigues wrote: Hi Yangwenfang, I appreciate the effort in this regard. On 01/26/2015 06:28 AM, yangwenfang wrote: What: Byte