Displaying 3 results from an estimated 3 matches for "ocfs2_bh_ignore_cache".
2008 Oct 15
1
[PATCH] ocfs2: Wrap inode block reads in a dedicated function.
...id();
> }
>
> static int ocfs2_read_locked_inode(struct inode *inode,
> @@ -460,11 +448,15 @@ static int ocfs2_read_locked_inode(struct inode *inode,
> }
> }
>
> - if (can_lock)
> - status = ocfs2_read_blocks(inode, args->fi_blkno, 1, &bh,
> - OCFS2_BH_IGNORE_CACHE);
> - 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)
> + s...
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
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