Tao Ma
e7d4cb6bc1
ocfs2: Abstract ocfs2_extent_tree in b-tree operations.
...
In the old extent tree operation, we take the hypothesis that we
are using the ocfs2_extent_list in ocfs2_dinode as the tree root.
As xattr will also use ocfs2_extent_list to store large value
for a xattr entry, we refactor the tree operation so that xattr
can use it directly.
The refactoring includes 4 steps:
1. Abstract set/get of last_eb_blk and update_clusters since they may
be stored in different location for dinode and xattr.
2. Add a new structure named ocfs2_extent_tree to indicate the
extent tree the operation will work on.
3. Remove all the use of fe_bh and di, use root_bh and root_el in
extent tree instead. So now all the fe_bh is replaced with
et->root_bh, el with root_el accordingly.
4. Make ocfs2_lock_allocators generic. Now it is limited to be only used
in file extend allocation. But the whole function is useful when we want
to store large EAs.
Note: This patch doesn't touch ocfs2_commit_truncate() since it is not used
for anything other than truncate inode data btrees.
Signed-off-by: Tao Ma <tao.ma@oracle.com >
Signed-off-by: Mark Fasheh <mfasheh@suse.com >
2008-10-13 13:57:58 -07:00
..
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-09-13 14:41:51 -07:00
2008-10-12 13:34:11 +00:00
2008-07-26 20:53:34 -04:00
2008-08-22 11:09:02 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-10-13 10:10:37 -07:00
2008-09-05 09:51:30 -05:00
2008-10-13 10:10:37 -07:00
2008-09-02 23:15:22 +01:00
2008-04-30 08:29:54 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-04-29 08:06:00 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-07-26 20:53:14 -04:00
2008-10-13 10:10:37 -07:00
2008-07-26 20:53:07 -04:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-08-12 00:11:49 +02:00
2008-10-10 22:12:43 -04:00
2008-08-23 12:14:12 -07:00
2008-10-13 10:10:37 -07:00
2008-08-12 16:39:22 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:37 -04:00
2008-10-13 10:10:37 -07:00
2008-09-01 14:24:24 -04:00
2008-09-02 19:21:37 -07:00
2008-10-13 13:57:58 -07:00
2008-10-13 10:10:37 -07:00
2008-07-26 12:00:07 -07:00
2008-10-09 08:56:12 +02:00
2008-10-10 04:24:51 +04:00
2008-07-26 12:00:07 -07:00
2008-10-02 15:53:13 -07:00
2008-08-12 16:07:30 -07:00
2008-07-30 14:30:34 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-07-25 10:53:34 -07:00
2008-10-13 10:10:37 -07:00
2008-07-26 20:53:40 -04:00
2008-07-24 10:47:28 -07:00
2008-07-26 20:53:28 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:08 -07:00
2008-07-28 18:10:28 +09:00
2008-07-26 12:00:08 -07:00
2008-04-29 08:06:04 -07:00
2008-08-11 20:17:55 +09:00
2008-08-20 15:40:31 -07:00
2008-04-29 08:06:04 -07:00
2008-07-26 12:00:08 -07:00
2008-10-09 08:56:21 +02:00
2008-10-09 08:57:05 +02:00
2008-10-09 10:42:38 +02:00
2008-08-27 09:50:19 +02:00
2008-06-20 14:05:53 -06:00
2008-01-30 13:31:46 +01:00
2008-07-25 10:53:34 -07:00
2008-08-25 01:18:08 -04:00
2008-09-29 07:42:57 -07:00
2008-02-14 21:17:09 -08:00
2008-07-26 12:00:06 -07:00
2008-05-01 13:08:16 -04:00
2008-10-13 09:51:41 -07:00
2008-04-29 08:06:05 -07:00
2008-07-24 10:47:29 -07:00
2008-08-12 16:07:30 -07:00
2008-09-29 08:41:47 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:06 -04:00
2008-07-26 20:53:40 -04:00
2008-08-01 11:25:23 -04:00
2008-07-14 19:10:52 +03:00
2008-08-15 08:35:44 -07:00
2008-10-02 15:53:13 -07:00
2008-02-06 10:41:07 -08:00
2008-04-21 23:11:01 -04:00
2008-10-12 11:44:37 -07:00
2008-08-20 15:40:32 -07:00
2008-10-12 15:53:01 -04:00
2008-09-06 19:30:22 +01:00
2008-07-30 09:41:44 -07:00
2008-07-26 12:00:07 -07:00
2008-10-10 20:02:48 -04:00
2008-04-15 19:35:41 -07:00
2008-07-11 19:27:31 -04:00
2008-08-01 11:25:30 -04:00
2008-08-01 11:25:32 -04:00
2008-02-14 21:13:33 -08:00
2008-10-13 09:51:41 -07:00
2008-07-26 20:53:06 -04:00
2008-04-23 00:05:09 -04:00
2008-04-23 00:05:09 -04:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00
2008-08-25 01:18:08 -04:00
2008-06-22 12:23:15 -07:00
2008-08-25 01:18:10 -04:00
2008-07-24 10:47:29 -07:00
2008-10-09 14:26:38 -07:00
2008-07-26 20:53:34 -04:00
2008-07-24 10:47:15 -07:00
2008-07-24 10:47:17 -07:00
2008-07-24 10:47:29 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 20:53:34 -04:00