[Ocfs2-commits] branch, master, updated. ocfs2-1.4.0-143-g2d561d3

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Dec 4 14:21:39 PST 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The ocfs2 filesystem version 1.4".

The branch, master has been updated
       via  2d561d3636c80af24063a74ae8c817661c574d78 (commit)
      from  0be76bc86b573605c3da2a648014e8c385a65cf8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2d561d3636c80af24063a74ae8c817661c574d78
Author: Mark Fasheh <mfasheh at suse.com>
Date:   Thu Dec 3 16:57:39 2009 -0800

    ocfs2: fix sendfile locking
    
    ocfs2_sendfile() was duplicating locking which happens later on in
    ocfs2_readpage(). The double locking would sometimes cause a lockup in nfsd,
    which uses ->sendfile() for fast read support. An easy way to see this is to
    mount an exported ocfs2 fs on a client and initiate two parallel read/write
    dd commands to the same file when there is low memory on the server.
    
    Fix ocfs2_sendfile() so that it only takes and immediately drops the cluster
    lock. This is consistent with the locking in ocfs2_file_splice_read().
    
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>
    Acked-by: Sunil Mushran <sunil.mushran at oracle.com>

-----------------------------------------------------------------------

Summary of changes:
 fs/ocfs2/file.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
The ocfs2 filesystem version 1.4



More information about the Ocfs2-commits mailing list