[Ocfs2-tools-commits] branch, fixes, created. ocfs2-tools-1.4.0-262-ge58a197

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Mar 11 19:12:17 PDT 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 "Tools to manage the ocfs2 filesystem.".

The branch, fixes has been created
        at  e58a197aa5da600415203317aee41e591c50a781 (commit)

- Log -----------------------------------------------------------------
commit e58a197aa5da600415203317aee41e591c50a781
Author: Coly Li <coly.li at suse.de>
Date:   Sat Mar 7 21:11:14 2009 +0800

    ocfs2-tools: Use open64() when opening large files
    
    ocfs2-tools usually is opening devices.  In the modern world, they are
    almost always larger than 2GB.  Thus ocfs2-tools needs to use the
    64bit loff_t.
    
    This patch changes some missed open() calls to open64().
    
    Signed-off-by: Coly Li <coly.li at suse.de>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 06e330ba384bb17c93ffda67d46dec408100ddee
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Mar 11 18:04:17 2009 -0700

    libocfs2: Fix errno return from ocfs2_get_device_sectsize()
    
    ocfs2_get_device_sectsize() is declared as returning errcode_t, but it
    was returning a raw errno when open64() failed.  Let's give it a proper
    error.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 782515d42cf13a057fb5b407f2a21ea4b8ec5533
Author: Coly Li <coly.li at suse.de>
Date:   Tue Mar 10 23:58:06 2009 +0800

    libocfs2: Return an error when ocfs2_get_device_sectsize() fails
    
    In ocfs2_get_device_sectsize(), if BLKSSZGET is undefined, *sectsize is
    set to 0. This is problematic because the callers assume they will get
    a valid *sectsize or an error.   For example,
    ocfs2_fill_heartbeat_desc() calculates "sectsize_bits = ffs(sectsize) - 1",
    thus computing sectsize_bits to be ~0 when BLKSSGET fails.
    
    This patch adds a new error code OCFS2_ET_CANNOT_DETERMINE_SECTOR_SIZE.
    When ocfs2_get_device_sectsize() can not determine sector size, it will
    return this error code.
    
    Signed-off-by: Coly Li <coly.li at suse.de>
    Signed-off-by: Joel Becker <Joel.Becker at oracle.com>
    Cc: Sunil Mushran <sunil.mushran at oracle.com>

commit 4e408bfca0acb99817e31d6283b4c44e673f8037
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Mar 9 19:17:11 2009 -0700

    ocfs2_controld: Need limits.h in main.c
    
    Somehow, limits.h wasn't in main.c.  I have no idea how this built in
    the past.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Tao Ma <tao.ma at oracle.com>

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


hooks/post-receive
-- 
Tools to manage the ocfs2 filesystem.



More information about the Ocfs2-tools-commits mailing list