Displaying 7 results from an estimated 7 matches for "ocfs2_write_end".
2009 Mar 05
1
[PATCH] OCFS2: Pagecache usage optimization on OCFS2
...umi.hisashi at oss.ntt.co.jp>
diff -Nrup linux-2.6.29-rc7.org/fs/ocfs2/aops.c linux-2.6.29-rc7/fs/ocfs2/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...
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...ite_begin(struct file *file, struct address_space *mapping,
brelse(di_bh);
- return 0;
+ goto bail;
out_fail:
up_write(&OCFS2_I(inode)->ip_alloc_sem);
brelse(di_bh);
ocfs2_inode_unlock(inode, 1);
-
+bail:
+ mlog_exit(ret);
return ret;
}
@@ -1846,6 +1980,9 @@ static void ocfs2_write_end_inline(struct inode *inode, loff_t pos,
{
void *kaddr;
+ mlog(0, "%llu, %lld, %u, %u, 0x%p, 0x%p)\n",
+ OCFS2_I(inode)->ip_blkno, pos, len, *copied, di, wc);
+
if (unlikely(*copied < len)) {
if (!PageUptodate(wc->w_target_page)) {
*copied = 0;
@@ -1877,6 +2014,...
2009 Jul 21
1
(no subject)
...te_begin(struct file *file, struct address_space *mapping,
brelse(di_bh);
- return 0;
+ goto bail;
out_fail:
up_write(&OCFS2_I(inode)->ip_alloc_sem);
brelse(di_bh);
ocfs2_inode_unlock(inode, 1);
-
+bail:
+ mlog_exit(ret);
return ret;
}
@@ -1846,6 +1988,10 @@ static void ocfs2_write_end_inline(struct inode *inode, loff_t pos,
{
void *kaddr;
+ mlog(0, "%llu, %lld, %u, %u, 0x%p, 0x%p)\n",
+ (unsigned long long)OCFS2_I(inode)->ip_blkno, pos, len, *copied,
+ di, wc);
+
if (unlikely(*copied < len)) {
if (!PageUptodate(wc->w_target_page)) {
*co...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...te_begin(struct file *file, struct address_space *mapping,
brelse(di_bh);
- return 0;
+ goto bail;
out_fail:
up_write(&OCFS2_I(inode)->ip_alloc_sem);
brelse(di_bh);
ocfs2_inode_unlock(inode, 1);
-
+bail:
+ mlog_exit(ret);
return ret;
}
@@ -1846,6 +1988,10 @@ static void ocfs2_write_end_inline(struct inode *inode, loff_t pos,
{
void *kaddr;
+ mlog(0, "%llu, %lld, %u, %u, 0x%p, 0x%p)\n",
+ (unsigned long long)OCFS2_I(inode)->ip_blkno, pos, len, *copied,
+ di, wc);
+
if (unlikely(*copied < len)) {
if (!PageUptodate(wc->w_target_page)) {
*co...
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
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
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi,
This is the second batch of Ocfs2 patches intended for the merge window. The
1st batch were sent out previously:
http://lkml.org/lkml/2008/12/19/280
The bulk of this set is comprised of Jan Kara's patches to add quota support
to Ocfs2. Many of the quota patches are to generic code, which I carried to
make merging of the Ocfs2 support easier. All of the non-ocfs2 patches
should have