search for: ocfs2_block_check_validate

Displaying 5 results from an estimated 5 matches for "ocfs2_block_check_validate".

2009 Jan 06
1
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...heck structure. + */ + /* * This function generates check information for a block. * data is the block to be checked. bc is a pointer to the @@ -266,12 +418,15 @@ void ocfs2_block_check_compute(void *data, size_t blocksize, * Again, the data passed in should be the on-disk endian. */ int ocfs2_block_check_validate(void *data, size_t blocksize, - struct ocfs2_block_check *bc) + struct ocfs2_block_check *bc, + struct ocfs2_blockcheck_stats *stats) { int rc = 0; struct ocfs2_block_check check; u32 crc, ecc; + ocfs2_blockcheck_inc_check(stats); + check.bc_crc32e = le32_to_cp...
2009 Apr 30
0
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...heck structure. + */ + /* * This function generates check information for a block. * data is the block to be checked. bc is a pointer to the @@ -266,12 +418,15 @@ void ocfs2_block_check_compute(void *data, size_t blocksize, * Again, the data passed in should be the on-disk endian. */ int ocfs2_block_check_validate(void *data, size_t blocksize, - struct ocfs2_block_check *bc) + struct ocfs2_block_check *bc, + struct ocfs2_blockcheck_stats *stats) { int rc = 0; struct ocfs2_block_check check; u32 crc, ecc; + ocfs2_blockcheck_inc_check(stats); + check.bc_crc32e = le32_to_cp...
2010 Jun 14
3
Diagnosing some OCFS2 error messages
...s stress tests. My current exercise involves writing to files using a shared-writable mmap() from two nodes. (Each node mmaps and writes to different files; I am not trying to access the same file from multiple nodes.) Both nodes are logging messages like these: [94355.116255] (ocfs2_wq,5995,6):ocfs2_block_check_validate:443 ERROR: CRC32 failed: stored: 2715161149, computed 575704001. Applying ECC. [94355.116344] (ocfs2_wq,5995,6):ocfs2_block_check_validate:457 ERROR: Fixed CRC32 failed: stored: 2715161149, computed 2102707465 [94355.116348] (ocfs2_wq,5995,6):ocfs2_validate_extent_block:903 ERROR: Checksum faile...
2011 Jan 12
1
Problems with fsck
...g. I then used tunefs to add discontig-bg, inline-data and indexed-dirs. During indexed-dirs tunefs segfaulted and since then, fsck didn't work anymore. I managed to mount the partition again but after some errors like the following Jan 11 23:11:56 www1 kernel: [ 2339.642683] (mc,3305,0):ocfs2_block_check_validate:443 ERROR: CRC32 failed: stored: 0x76176db1, computed 0x9e4c2434. Applying ECC. Jan 11 23:11:56 www1 kernel: [ 2339.645074] (mc,3305,0):ocfs2_block_check_validate:457 ERROR: Fixed CRC32 failed: stored: 0x76176db1, computed 0x91119fb2 Jan 11 23:11:56 www1 kernel: [ 2339.647196] (mc,3305,0):ocfs2...
2010 Aug 12
3
[PATCH 1/2] ocfs2: Fix metaecc error messages
...hran <sunil.mushran at oracle.com> --- fs/ocfs2/blockcheck.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ocfs2/blockcheck.c b/fs/ocfs2/blockcheck.c index ec6d123..c7ee03c 100644 --- a/fs/ocfs2/blockcheck.c +++ b/fs/ocfs2/blockcheck.c @@ -439,7 +439,7 @@ int ocfs2_block_check_validate(void *data, size_t blocksize, ocfs2_blockcheck_inc_failure(stats); mlog(ML_ERROR, - "CRC32 failed: stored: %u, computed %u. Applying ECC.\n", + "CRC32 failed: stored: 0x%x, computed 0x%x. Applying ECC.\n", (unsigned int)check.bc_crc32e, (unsigned int)crc)...