Displaying 8 results from an estimated 8 matches for "ocfs2_readpage".
2009 Mar 05
1
[PATCH] OCFS2: Pagecache usage optimization on OCFS2
...cfs2/aops.c
--- linux-2.6.29-rc7.org/fs/ocfs2/aops.c 2009-03-05 13:46:07.000000000 +0900
+++ linux-2.6.29-rc7/fs/ocfs2/aops.c 2009-03-05 13:50:59.000000000 +0900
@@ -1953,15 +1953,16 @@ static int ocfs2_write_end(struct file *
}
const struct address_space_operations ocfs2_aops = {
- .readpage = ocfs2_readpage,
- .readpages = ocfs2_readpages,
- .writepage = ocfs2_writepage,
- .write_begin = ocfs2_write_begin,
- .write_end = ocfs2_write_end,
- .bmap = ocfs2_bmap,
- .sync_page = block_sync_page,
- .direct_IO = ocfs2_direct_IO,
- .invalidatepage = ocfs2_invalidatepage,
- .releasepage = ocfs2_releasepage,
-...
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...long)size);
- return -EROFS;
+ status = -EROFS;
+ goto bail;
}
kaddr = kmap_atomic(page, KM_USER0);
@@ -245,7 +253,9 @@ int ocfs2_read_inline_data(struct inode *inode, struct page *page,
SetPageUptodate(page);
- return 0;
+bail:
+ mlog_exit(status);
+ return status;
}
static int ocfs2_readpage_inline(struct inode *inode, struct page *page)
@@ -253,6 +263,8 @@ static int ocfs2_readpage_inline(struct inode *inode, struct page *page)
int ret;
struct buffer_head *di_bh = NULL;
+ mlog_entry("(%llu, %lu)\n", OCFS2_I(inode)->ip_blkno, page->index);
+
BUG_ON(!PageLocked(p...
2009 Jul 21
1
(no subject)
...long)size);
- return -EROFS;
+ status = -EROFS;
+ goto bail;
}
kaddr = kmap_atomic(page, KM_USER0);
@@ -245,7 +254,9 @@ int ocfs2_read_inline_data(struct inode *inode, struct page *page,
SetPageUptodate(page);
- return 0;
+bail:
+ mlog_exit(status);
+ return status;
}
static int ocfs2_readpage_inline(struct inode *inode, struct page *page)
@@ -253,6 +264,9 @@ static int ocfs2_readpage_inline(struct inode *inode, struct page *page)
int ret;
struct buffer_head *di_bh = NULL;
+ mlog_entry("(%llu, %lu)\n",
+ (unsigned long long)OCFS2_I(inode)->ip_blkno, page->index)...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...long)size);
- return -EROFS;
+ status = -EROFS;
+ goto bail;
}
kaddr = kmap_atomic(page, KM_USER0);
@@ -245,7 +254,9 @@ int ocfs2_read_inline_data(struct inode *inode, struct page *page,
SetPageUptodate(page);
- return 0;
+bail:
+ mlog_exit(status);
+ return status;
}
static int ocfs2_readpage_inline(struct inode *inode, struct page *page)
@@ -253,6 +264,9 @@ static int ocfs2_readpage_inline(struct inode *inode, struct page *page)
int ret;
struct buffer_head *di_bh = NULL;
+ mlog_entry("(%llu, %lu)\n",
+ (unsigned long long)OCFS2_I(inode)->ip_blkno, page->index)...
2010 Dec 15
2
loss of connection
My log says suddenly:
Dec 14 02:35:16 hp1 kernel: [1492482.232822] o2net: no longer connected to node hp2 (num 1) at 192.168.1.2:7777
Dec 14 02:35:18 hp1 kernel: [1492483.960150] BUG: soft lockup - CPU#1 stuck for 61s! [kvm:32398]
I have no idea what happens here and why - but the result are a lot of problems with virtual machines.
Viele Gr??e
Andreas Rittershofer
--
Hier k?nnte keine
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
...fs-features=discontig-bg <dev>
To disable discontigous block group feature
# tunefs.ocfs2 --fs-features=nodiscontig-bg <dev>
Users will need to install ocfs2-tools-1.6.3-2 to enable/disable
discontigous block group feature
FIXES INCLUDED SINCE 1.4.7-1
ocfs2: Avoid livelock in ocfs2_readpage
ocfs2: Fix deadlock when allocating page
ocfs2: commit transactions in error cases
ocfs2: make direntry invalid when deleting it
ocfs2: Skip mount recovery for hard ro mounts
ocfs2: Initialize data_ac might be used uninitialize
ocfs2: Little refactoring against ocfs2_iget
ocfs2: optimize ocfs2_chec...
2009 Apr 20
2
BUG: soft lockup - CPU#1 stuck for 61s
...e
Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffffa032915e>] ?
:ocfs2:ocfs2_cluster_unlock+0x21d/0x289
Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffffa032c8d9>] ?
:ocfs2:ocfs2_inode_lock_with_page+0x1f/0x5f
Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffffa032311f>] ?
:ocfs2:ocfs2_readpage+0x7e/0x33f
Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffff80270eef>] ?
find_get_page+0x4a/0x54
Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffff80272bdc>] ?
generic_file_aio_read+0x31f/0x4a9
Apr 20 17:31:52 um-fe-1 [ 9123.585958] [<ffffffffa0337182>] ?
:ocfs2:ocfs2_file_aio_r...
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi,
The following patches comprise the bulk of Ocfs2 updates for the
2.6.30 merge window. Aside from larger, more involved fixes, we're adding
the following features, which I will describe in the order their patches are
mailed.
Sunil's exported some more state to our debugfs files, and
consolidated some other aspects of our debugfs infrastructure. This will
further aid us in debugging