Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/ocfs2
Tao Ma 0c044f0b24 ocfs2: Add xattr bucket iteration for large numbers of EAs
Ocfs2 breaks up xattr index tree leaves into 4k regions, called buckets.
Attributes are stored within a given bucket, depending on hash value.

After a discussion with Mark, we decided that the per-bucket index
(xe_entry[]) would only exist in the 1st block of a bucket. Likewise,
name/value pairs will not straddle more than one block. This allows the
majority of operations to work directly on the buffer heads in a leaf block.

This patch adds code to iterate the buckets in an EA. A new abstration of
ocfs2_xattr_bucket is added. It records the bhs in this bucket and
ocfs2_xattr_header. This keeps the code neat, improving readibility.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2008-10-13 16:57:03 -07:00
..
cluster ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
dlm SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
alloc.c ocfs2: Add xattr index tree operations 2008-10-13 16:57:02 -07:00
alloc.h ocfs2: Add xattr index tree operations 2008-10-13 16:57:02 -07:00
aops.c ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
aops.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
dir.h
dlmglue.c ocfs2: fix printk format warnings with OCFS2_FS_STATS=n 2008-07-14 13:57:14 -07:00
dlmglue.h ocfs2: Break out stackglue into modules. 2008-04-18 08:56:05 -07:00
export.c
export.h
extent_map.c ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
extent_map.h ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
file.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
file.h ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
heartbeat.c ocfs2: Move o2hb functionality into the stack glue. 2008-04-18 08:56:04 -07:00
heartbeat.h ocfs2: Move o2hb functionality into the stack glue. 2008-04-18 08:56:04 -07:00
inode.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
inode.h ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
ioctl.c [PATCH] r/o bind mounts: elevate write count for ioctls() 2008-04-19 00:29:24 -04:00
ioctl.h ocfs2: Convert ocfs2 over to unlocked_ioctl 2008-04-18 08:56:11 -07:00
journal.c ocfs2: Fix sleep-with-spinlock recovery regression 2008-08-22 11:08:38 -07:00
journal.h ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
localalloc.c ocfs2: track local alloc state via debugfs 2008-10-13 13:57:58 -07:00
localalloc.h ocfs2: throttle back local alloc when low on disk space 2008-10-13 13:57:57 -07:00
locks.c ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
locks.h ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
Makefile ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
mmap.c
mmap.h
namei.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
namei.h
ocfs1_fs_compat.h
ocfs2.h ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
ocfs2_fs.h ocfs2: Add xattr bucket iteration for large numbers of EAs 2008-10-13 16:57:03 -07:00
ocfs2_lockid.h ocfs2: Change mlog_bug_on to BUG_ON in ocfs2_lockid.h 2008-04-18 08:56:07 -07:00
ocfs2_lockingver.h
resize.c ocfs2: Fix an endian bug in online resize. 2008-03-10 15:14:07 -07:00
resize.h
slot_map.c ocfs2: Abstract out node number queries. 2008-04-18 08:56:04 -07:00
slot_map.h ocfs2: De-magic the in-memory slot map. 2008-04-18 08:56:03 -07:00
stack_o2cb.c ocfs2: Remove ->hangup() from stack glue operations. 2008-06-16 10:46:52 -07:00
stack_user.c ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
stackglue.c ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
stackglue.h ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
suballoc.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
suballoc.h ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
super.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
super.h
symlink.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
symlink.h
sysfile.c
sysfile.h
uptodate.c ocfs2: Add helper function in uptodate.c for removing xattr clusters 2008-10-13 13:57:59 -07:00
uptodate.h ocfs2: Add helper function in uptodate.c for removing xattr clusters 2008-10-13 13:57:59 -07:00
ver.c
ver.h
xattr.c ocfs2: Add xattr bucket iteration for large numbers of EAs 2008-10-13 16:57:03 -07:00
xattr.h ocfs2: Add xattr bucket iteration for large numbers of EAs 2008-10-13 16:57:03 -07:00
xattr_trusted.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
xattr_user.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00