Displaying 6 results from an estimated 6 matches for "ocfs2_expand_nonsparse_inode".
2010 Apr 05
1
Kernel Panic, Server not coming back up
...s-1.4.3-1.el5
ocfs2-2.6.18-164.15.1.0.1.el5-1.4.4-1.el5
This is the latest from one of the alive hosts:
# dmesg | tail -50
(2869,0):ocfs2_lock_allocators:677 ERROR: status = -5
(2869,0):__ocfs2_extend_allocation:739 ERROR: status = -5
(2869,0):ocfs2_extend_no_holes:952 ERROR: status = -5
(2869,0):ocfs2_expand_nonsparse_inode:1678 ERROR: status = -5
(2869,0):ocfs2_write_begin_nolock:1722 ERROR: status = -5
(2869,0):ocfs2_write_begin:1860 ERROR: status = -5
(2869,0):ocfs2_file_buffered_write:2039 ERROR: status = -5
(2869,0):__ocfs2_file_aio_write:2194 ERROR: status = -5
OCFS2: ERROR (device sdc1): ocfs2_check_group_descr...
2009 Aug 02
1
Non sparse extend init issue
The patch was created against a 1.4 tree. However, it applies cleanly to mainline too.
The patch has been lightly tested. I am running fill_verify_holes on a non sparse volume
currently.
Please review.
Sunil
2009 Aug 03
1
Non sparse init fix v3
One line fix from Joel's version. Also, some comments removed.
18:58 <sunil> wc->w_first_new_cpos =
18:58 <sunil> - ocfs2_align_bytes_to_clusters(inode->i_sb, i_size_read(inode));
18:58 <sunil> + ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode));
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...+ goto out;
do_inline_write:
ret = ocfs2_write_begin_inline(mapping, inode, wc);
@@ -1606,7 +1720,11 @@ do_inline_write:
*/
written = 1;
out:
- return written ? written : ret;
+ if (written)
+ ret = written;
+
+ mlog_exit(ret);
+ return ret;
}
/*
@@ -1622,20 +1740,25 @@ static int ocfs2_expand_nonsparse_inode(struct inode *inode, loff_t pos,
unsigned len,
struct ocfs2_write_ctxt *wc)
{
- int ret;
+ int ret = 0;
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
loff_t newsize = pos + len;
+ mlog_entry("(%llu, %lld, %u, 0x%p)\n",
+ OCFS2_I(inode)->ip_blkno, pos, len,...
2009 Jul 21
1
(no subject)
...+ goto out;
do_inline_write:
ret = ocfs2_write_begin_inline(mapping, inode, wc);
@@ -1606,7 +1728,11 @@ do_inline_write:
*/
written = 1;
out:
- return written ? written : ret;
+ if (written)
+ ret = written;
+
+ mlog_exit(ret);
+ return ret;
}
/*
@@ -1622,20 +1748,25 @@ static int ocfs2_expand_nonsparse_inode(struct inode *inode, loff_t pos,
unsigned len,
struct ocfs2_write_ctxt *wc)
{
- int ret;
+ int ret = 0;
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
loff_t newsize = pos + len;
+ mlog_entry("(%llu, %lld, %u, 0x%p)\n",
+ (unsigned long long)OCFS2_I(inode)->...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...+ goto out;
do_inline_write:
ret = ocfs2_write_begin_inline(mapping, inode, wc);
@@ -1606,7 +1728,11 @@ do_inline_write:
*/
written = 1;
out:
- return written ? written : ret;
+ if (written)
+ ret = written;
+
+ mlog_exit(ret);
+ return ret;
}
/*
@@ -1622,20 +1748,25 @@ static int ocfs2_expand_nonsparse_inode(struct inode *inode, loff_t pos,
unsigned len,
struct ocfs2_write_ctxt *wc)
{
- int ret;
+ int ret = 0;
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
loff_t newsize = pos + len;
+ mlog_entry("(%llu, %lld, %u, 0x%p)\n",
+ (unsigned long long)OCFS2_I(inode)->...