Displaying 5 results from an estimated 5 matches for "should_zero".
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 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 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...pping,
struct inode *inode = mapping->host;
struct ocfs2_extent_tree et;
+ mlog_entry("(0x%p, %u, %u, 0x%p, 0x%p, 0x%p, %u, %lld, %u)\n",
+ mapping, phys, unwritten, data_ac, meta_ac, wc,
+ cpos, user_pos, user_len);
+
new = phys == 0 ? 1 : 0;
if (new || unwritten)
should_zero = 1;
@@ -1312,7 +1408,7 @@ static int ocfs2_write_cluster(struct address_space *mapping,
ocfs2_write_failure(inode, wc, user_pos, user_len);
out:
-
+ mlog_exit(ret);
return ret;
}
@@ -1328,6 +1424,9 @@ static int ocfs2_write_cluster_by_desc(struct address_space *mapping,
struct ocfs2_w...
2009 Jul 21
1
(no subject)
...pping,
struct inode *inode = mapping->host;
struct ocfs2_extent_tree et;
+ mlog_entry("(0x%p, %u, %u, 0x%p, 0x%p, 0x%p, %u, %lld, %u)\n",
+ mapping, phys, unwritten, data_ac, meta_ac, wc,
+ cpos, user_pos, user_len);
+
new = phys == 0 ? 1 : 0;
if (new || unwritten)
should_zero = 1;
@@ -1312,7 +1415,7 @@ static int ocfs2_write_cluster(struct address_space *mapping,
ocfs2_write_failure(inode, wc, user_pos, user_len);
out:
-
+ mlog_exit(ret);
return ret;
}
@@ -1328,6 +1431,9 @@ static int ocfs2_write_cluster_by_desc(struct address_space *mapping,
struct ocfs2_w...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...pping,
struct inode *inode = mapping->host;
struct ocfs2_extent_tree et;
+ mlog_entry("(0x%p, %u, %u, 0x%p, 0x%p, 0x%p, %u, %lld, %u)\n",
+ mapping, phys, unwritten, data_ac, meta_ac, wc,
+ cpos, user_pos, user_len);
+
new = phys == 0 ? 1 : 0;
if (new || unwritten)
should_zero = 1;
@@ -1312,7 +1415,7 @@ static int ocfs2_write_cluster(struct address_space *mapping,
ocfs2_write_failure(inode, wc, user_pos, user_len);
out:
-
+ mlog_exit(ret);
return ret;
}
@@ -1328,6 +1431,9 @@ static int ocfs2_write_cluster_by_desc(struct address_space *mapping,
struct ocfs2_w...