[Ocfs2-tools-commits] branch, metaecc, created. ocfs2-tools-1.4.0-243-g6124ff2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Dec 18 02:29:52 PST 2008


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, metaecc has been created
        at  6124ff2b883fd5b32e76851a64b08dfee8561bf2 (commit)

- Log -----------------------------------------------------------------
commit 6124ff2b883fd5b32e76851a64b08dfee8561bf2
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Dec 18 02:28:54 2008 -0800

    libocfs2, mkfs.ocfs2: Add checksums and ecc to dirblocks.
    
    Now the functions to read and write dirblocks can compute checksums.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e5b47ceced03c59401c10e5af2e9d3b522897619
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Dec 18 02:19:55 2008 -0800

    mkfs.ocfs2: Write directory trailers when necessary.
    
    Add the code to put trailers on dirblocks when they are created in mkfs.
    This includes a little convenience routine, fill_fake_fs(), that allows
    us to use simple functions on a fake ocfs2_filesys created from State.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 3b91bb488134dde6d2703df86ed4a1c9ddae1e66
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Dec 17 18:06:18 2008 -0800

    libocfs2: Handle dir trailer fields at dirblock read/write.
    
    Swap the inode and rec_len fields of the dir trailer when we read and
    write a dirblock.  Check the dir trailer signature if we're supposed to.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 33c63d5a9bf453fbcf76629d267489d6c21fef22
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Dec 17 17:53:27 2008 -0800

    libocfs2: Initialize dirblock trailers when creating new dirblocks.
    
    libocfs2 creates new dirblocks in three places:
    
    - non-inline mkdir
    - expanding inline to a dirblock
    - adding a new dirblock
    
    All places now initialize a trailer if necessary.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit b650e25d53dee3df6794f8d1d7ce6533a14d7de2
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Dec 17 17:32:22 2008 -0800

    fsck.ocfs2: Add checking of directory trailers.
    
    If we have trailers, fsck needs to know about them.
    
    In pass2, we don't treat the trailer of a directory block as a regular
    dirent.  We fix the trailer's compatibility fields if they are broken.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 6b68bfe996ae6f06fc14942b9d525274a89e4241
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Dec 17 16:53:56 2008 -0800

    libocfs2: Skip dir trailers in our iterators.
    
    The ocfs2_dir_iterate*() and ocfs2_dir_scan*() functions need to skip
    dirblock trailers.  ocfs2_dir_iterate*() can be passed
    OCFS2_DIRENT_FLAG_INCLUDE_TRAILER if you really want to see it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit ab5f80896114749b30c4d6b29b728361e284f6f4
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Dec 17 15:58:32 2008 -0800

    libocfs2: Pass the dinode to ocfs2_read/write_dir_block().
    
    Future code will need to look at the dinode when reading and writing
    dirblocks, so let's pass it in.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e131f69a834f58e15722de57282ed030a09ba78b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Dec 17 15:46:18 2008 -0800

    libocfs2: Bring ocfs2_fs.h from the kernel.
    
    Bring in the latest ocfs2_fs.h from the kernel.  This includes the
    quota, xattr, and dir trailer structures.
    
    The only changes from the kernel:
    
    - Remove XATTR and QUOTA from the list of supported features.
    - Remove the quota system files from the system inode list.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 4f34af8bd4841958ee01efeb4fea06c8039a40b9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Dec 16 13:49:58 2008 -0800

    libocfs2: Cache code bits in parity calculation
    
    The parity calculation has to convert a data buffer bit offset into a
    code buffer bit offset.  By caching the difference between those
    offsets, we can make the calculation faster.  It starts from a more
    recent place.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit a1f2e79369614efd08a59f0b43e6ae410a18be6b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Dec 15 18:22:30 2008 -0800

    libocfs2: Shrink the usage of the ocfs2_hamming_encode() function.
    
    Take the hand-coded xor and just use xor on the word.  Start
    calc_code_bit() at a good approximation.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit dd029380bebff108cb0c0b433bb0e107257de345
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Dec 15 16:43:10 2008 -0800

    libocfs2: Add hamming code tester.
    
    Change the blockcheck.c debugexe code to allow us to time and optimize
    the ecc calculation.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit db6fe3fb81c9bf326fb2951bd3e7d1853930607b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Dec 15 14:58:39 2008 -0800

    libocfs2: Bring hamming funcs up to the kernel level
    
    This means the multi-hunk api.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit ba0f6edd7becd2d74e90c24362079b1b4370e112
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Dec 15 14:01:28 2008 -0800

    libocfs2: Change ocfs2_open()'s csum check to match the kernel.
    
    The ocfs2_open() code can't sanely swap a superblock that isn't a valid
    superblock - it walks off the end.
    
    Let's do what the kernel does - validate the signature first, then check
    the ecc.  It means that ecc can't fix the signature, but that's a tiny
    little window fixed by backup supers.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 933517f37dcfabcc263a372bc0d78e64647bc02e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Dec 4 16:34:23 2008 -0800

    libocfs2: ECC needs the correct bitcount.
    
    I was passing 'blocksize' to the hamming code functions.  But they work
    on bits, not bytes, so they were eccing the first 1/8 of the block.
    Whoops!
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit f120af70a38ff15f1941601e3f0731a030058701
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Oct 17 14:50:21 2008 -0700

    libocfs2: Bring i_check in line with the kernel.
    
    The xattr code has required a move of i_check.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit c69effa004c176ffda383aba1bdf71c6044db12c
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Aug 28 12:43:54 2008 -0700

    blockcheck: Consolidate dumping of the CRC in debugfs.
    
    Make one function that dumps ocfs2_block_check and use it where needed.
    Also, print N/A if INCOMPAT_META_ECC is not set.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 3a148ac476697861fb4443bd0b8611deb9c33640
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 18:59:53 2008 -0700

    blockcheck: Use an unused value for META_ECC
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e41e60c83f34b11f0d1702e4cc1ad89c9e82270a
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 18:46:06 2008 -0700

    blockcheck: Print block check information in debugfs.ocfs2.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit a819e6169ea8ab15bb597ddae4f6733c8d8072ca
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 18:45:24 2008 -0700

    blockcheck: Restore block check data
    
    ocfs2_block_check_validate() zeros the check data in the buffer before
    calculating the values.  It needs to restore that data to the buffer at
    exit.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 846d1ddb3b21c3c5df2e5c7d33b66dc778c291d4
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 18:14:10 2008 -0700

    blockcheck: Enable mkfs to create filesystems with meta ecc
    
    mkfs has to compute ecc on the objects it creates before ocfs2_open()
    can be called.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 983b3c474d6e16b96e7f3636ac27178111ac6c43
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 18:09:30 2008 -0700

    blockcheck: More ocfs2_read_super() fixes.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 7fd75712878dba042af4958db9b05b2b1317ee8e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 17:43:12 2008 -0700

    blockcheck: Add META_ECC to the supported feature list
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d4a788bc5a04fc97ec9a865d0c61c3ee384670f9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 17:41:06 2008 -0700

    blockcheck: Properly handle back checksums in openfs.
    
    read_super() can return ET_IO for back checksums.  This will always
    happen when we're scanning for the superblock, so ocfs2_open() needs to
    handle that case.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit ec2b78d4925ac93455c22fab7bcf539335e49df9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 17:23:12 2008 -0700

    blockcheck: Take fs out of the low-level block_check functions.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 76884dc9480e42d45ef5fe854e760d99a965d571
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 17:17:19 2008 -0700

    blockcheck: move the low-level block_check_compute/validate() functions
    
    mkfs needs the lower-level ocfs2_block_check_compute()/validate()
    functions.  Put them in ocfs2.h with a comment.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit af45b9c6f33c8f6309bd5ef7c49bdda17f0b24a9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 17:12:04 2008 -0700

    blockcheck: Fix ocfs2_read_super() to handle missing fs->fs_super.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d95cb2bf6b684ffe43aa6b09e70498a4742e468e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 16:52:20 2008 -0700

    blockcheck: Add metaecc to feature_string.c
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5aa87d829c56f09617d4b3de6cc4e55bc5603f45
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 16:43:36 2008 -0700

    blockcheck: set/check meta ecc on disk structures
    
    Missing dirs, will get there later.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit c6b599b1a18b7e118b9dfb74e81af782d0f27834
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 16:26:29 2008 -0700

    blockcheck: Update sizetest
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5ca48892818d8980f2ed73871699c26f3f8a6e7b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Aug 27 16:21:12 2008 -0700

    blockcheck: Add ocfs2_block_check to structures.
    
    Add the checksum structure to dinode/extent_block/group_descriptor.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 9ec6bf0acf696dd4da642449bec46f3f1021b738
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Aug 26 14:36:34 2008 -0700

    blockcheck: Grab the kernel's table-based crc32_le().
    
    The table-based one is probably better - it's exactly what kernelspace
    is using.  Also make ocfs2_hamming_encode() endian correct.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 6d0c41b9b68300e4c60c558140e15d245a091369
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Aug 26 12:57:37 2008 -0700

    blockcheck: Remove incompat check.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit d72bedb3d4f1b9098b3a9c87cd14e744a87c8ca2
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Aug 25 21:34:18 2008 -0700

    Add blockcheck.[ch]
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

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


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



More information about the Ocfs2-tools-commits mailing list