Displaying 7 results from an estimated 7 matches for "ocfs2_validate_inode_block".
2008 Oct 15
1
[PATCH] ocfs2: Wrap inode block reads in a dedicated function.
...- else
> + if (can_lock) {
> + status = ocfs2_read_inode_block_full(inode, args->fi_blkno,
> + &bh,
> + OCFS2_BH_IGNORE_CACHE);
> + } else {
> status = ocfs2_read_blocks_sync(osb, args->fi_blkno, 1, &bh);
> + if (!status)
> + status = ocfs2_validate_inode_block(osb->sb, bh);
> + }
> if (status < 0) {
> mlog_errno(status);
> goto bail;
> @@ -472,12 +464,6 @@ static int ocfs2_read_locked_inode(struct inode *inode,
>
> status = -EINVAL;
> fe = (struct ocfs2_dinode *) bh->b_data;
> - if (!OCFS2_IS_VALID_DINODE...
2012 Jul 30
0
ocfs2 read only and unable to access data
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120731/5f1e8a49/attachment.html
2009 Feb 11
1
Possible lock inversion in directory locking
...dir_for_insert+0x13d3/0x1999 [ocfs2]
[<ffffffffa02e789e>] ocfs2_prepare_dir_for_insert+0x13d3/0x1999 [ocfs2]
[<ffffffffa02e56d3>] ocfs2_read_dir_block+0x37/0x1ce [ocfs2]
[<ffffffff80466710>] __mutex_unlock_slowpath+0x100/0x108
[<ffffffffa02f8e92>] ocfs2_validate_inode_block+0x0/0x197 [ocfs2]
[<ffffffffa0300719>] ocfs2_journal_access_di+0x0/0xf [ocfs2]
[<ffffffffa02e92e5>] ocfs2_check_dir_for_entry+0x82/0xe8 [ocfs2]
[<ffffffffa0307cec>] ocfs2_mknod+0x236/0xc42 [ocfs2]
[<ffffffffa0308854>] ocfs2_create+0x83/0xd9 [ocfs2...
2012 Aug 06
0
Problem with mdadm + lvm + drbd + ocfs ( sounds obvious, eh ? :) )
..._count = 2
----
- the 192.168.251 network is a cross-cable from one machine's network
card to the other.
Everything went ok until enabling ocfs2 on the nodes. then messages
like this began to appear on syslog:
----
Aug 5 14:40:11 admin1 kernel: [266728.868283] OCFS2: ERROR (device
drbd0): ocfs2_validate_inode_block: Invalid dinode #922073:
OCFS2_VALID_FL not set
Aug 5 14:40:11 admin1 kernel: [266728.868443] File system is now
read-only due to the potential of on-disk corruption. Please run
fsck.ocfs2 once the file system is unmounted.
Aug 5 14:40:11 admin1 kernel: [266728.868571]
(7023,1):ocfs2_read_locked_...
2010 Aug 12
3
[PATCH 1/2] ocfs2: Fix metaecc error messages
Like tools, the checksum validate function now prints the values in hex.
Signed-off-by: Sunil Mushran <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
2011 Aug 29
1
with heavy VM IO, clocksource causes random dom0 reboots
.../0x23
Aug 29 06:28:53 vm2 kernel: [53400.204202] [<ffffffffa04bf824>] ?
ocfs2_read_blocks+0x55d/0x6c2 [ocfs2]
Aug 29 06:28:53 vm2 kernel: [53400.204208] [<ffffffff8100eccf>] ?
xen_restore_fl_direct_end+0x0/0x1
Aug 29 06:28:53 vm2 kernel: [53400.204217] [<ffffffffa04db9a1>] ?
ocfs2_validate_inode_block+0x0/0x1ab [ocfs2]
Aug 29 06:28:53 vm2 kernel: [53400.204226] [<ffffffffa04db58c>] ?
ocfs2_read_inode_block_full+0x37/0x51 [ocfs2]
Aug 29 06:28:53 vm2 kernel: [53400.204235] [<ffffffffa04d135b>] ?
ocfs2_inode_lock_atime+0x73/0x23f [ocfs2]
Aug 29 06:28:53 vm2 kernel: [53400.204243] [...
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from
struct inode. They are currently tied together pretty tightly.
Metadata reads happen via the ocfs2_read_blocks() functions, writes via
both jbd2 and ocfs2_write_blocks().
- Each inode has a cache of associated metadata blocks stored on its
ip_metadata_cache member. The ocfs2_read/write_blocks() functions
take a struct