login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
8
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attribute support
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From: Tiger Yang
Subject:
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attribute support
Date: Tuesday, October 7, 2008 - 6:56 pm
Mark Fasheh wrote:
quoted text
>>> +static inline struct xattr_handler *ocfs2_xattr_handler(int name_index) >>> +{ >>> + struct xattr_handler *handler = NULL; >>> + >>> + if (name_index > 0 && name_index < OCFS2_XATTR_MAX) >>> + handler = ocfs2_xattr_handler_map[name_index]; >>> + >>> + return handler; >>> +} >> You seem to need the handler mostly for getting back to the prefix >> from the handler. This is a pretty clear indicator that you don't >> want to use the xattr_handler splitting but deal with the whole >> attr name. Take a look at the btrfs code after my recent xattr changes >> on how to handle this more nicely. > > Tao, Can you look into this?
I have looked the patch for btrfs about this. We are different. Btrfs store the whole xattr name including the prefix "user." "trusted.", we store index number instead of it. regards, tiger --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
Messages in current thread:
[PATCH 0/39] Ocfs2 updates for 2.6.28
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 01/39] ocfs2: POSIX file locks support
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 02/39] ocfs2: Track local alloc bits internally
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 03/39] ocfs2: throttle back local alloc when low on ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 04/39] ocfs2: track local alloc state via debugfs
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 05/39] ocfs2: Modify ocfs2_num_free_extents for fut ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 06/39] ocfs2: Use ocfs2_extent_list instead of ocfs ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 07/39] ocfs2: Abstract ocfs2_extent_tree in b-tree ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 08/39] ocfs2: Make high level btree extend code generic
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 09/39] ocfs2: Add the basic xattr disk layout in oc ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 10/39] ocfs2: Add helper function in uptodate.c for ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 11/39] ocfs2: Add extent tree operation for xattr v ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 12/39] ocfs2: reserve inline space for extended att ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 13/39] ocfs2: Add extended attribute support
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 14/39] ocfs2: Add xattr index tree operations
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 15/39] ocfs2: Add xattr bucket iteration for large ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 16/39] ocfs2: Add xattr lookup code xattr btrees
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 17/39] ocfs2: Optionally limit extent size in ocfs2 ...
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 18/39] ocfs2: Enable xattr set in index btree
, Mark Fasheh
, (Wed Sep 24, 3:00 pm)
[PATCH 19/39] ocfs2: Delete all xattr buckets during inode ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 20/39] ocfs2: Add incompatible flag for extended at ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 21/39] ocfs2: fix printk format warnings
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 22/39] ocfs2: Prefix the extent tree operations str ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 23/39] ocfs2: Prefix the ocfs2_extent_tree structure.
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 24/39] ocfs2: Make ocfs2_extent_tree get/put instea ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 25/39] ocfs2: Make 'private' into 'object' on ocfs2 ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 26/39] ocfs2: Provide the get_root_el() method to o ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 27/39] ocfs2: Use struct ocfs2_extent_tree in ocfs2 ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 28/39] ocfs2: Determine an extent tree's max_leaf_c ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 29/39] ocfs2: Create specific get_extent_tree funct ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 30/39] ocfs2: Add an insertion check to ocfs2_exten ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 31/39] ocfs2: Make ocfs2_extent_tree the first-clas ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 32/39] ocfs2: Comment struct ocfs2_extent_tree_oper ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 33/39] ocfs2: Change ocfs2_get_*_extent_tree() to o ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 34/39] ocfs2: bug-fix for journal extend in xattr.
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 35/39] ocfs2: Resolve deadlock in ocfs2_xattr_free_ ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 36/39] ocfs2: Limit inode allocation to 32bits.
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 37/39] ocfs2: Add the 'inode64' mount option.
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 38/39] ocfs2: Switch over to JBD2.
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
[PATCH 39/39] ocfs2: Add xattr mount option in ocfs2_show_ ...
, Mark Fasheh
, (Wed Sep 24, 3:01 pm)
Re: [PATCH 0/39] Ocfs2 updates for 2.6.28
, Tao Ma
, (Sat Sep 27, 10:16 pm)
Re: [PATCH 01/39] ocfs2: POSIX file locks support
, Andrew Morton
, (Wed Oct 1, 11:11 pm)
Re: [PATCH 03/39] ocfs2: throttle back local alloc when lo ...
, Andrew Morton
, (Wed Oct 1, 11:11 pm)
Re: [PATCH 04/39] ocfs2: track local alloc state via debugfs
, Andrew Morton
, (Wed Oct 1, 11:11 pm)
Re: [PATCH 10/39] ocfs2: Add helper function in uptodate.c ...
, Andrew Morton
, (Wed Oct 1, 11:11 pm)
Re: [PATCH 11/39] ocfs2: Add extent tree operation for xat ...
, Andrew Morton
, (Wed Oct 1, 11:12 pm)
Re: [PATCH 11/39] ocfs2: Add extent tree operation for xat ...
, Andrew Morton
, (Wed Oct 1, 11:12 pm)
Re: [PATCH 13/39] ocfs2: Add extended attribute support
, Andrew Morton
, (Wed Oct 1, 11:12 pm)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Christoph Hellwig
, (Thu Oct 2, 1:16 am)
Re: [PATCH 01/39] ocfs2: POSIX file locks support
, Mark Fasheh
, (Tue Oct 7, 1:09 pm)
Re: [PATCH 04/39] ocfs2: track local alloc state via debugfs
, Mark Fasheh
, (Tue Oct 7, 1:10 pm)
Re: [PATCH 10/39] ocfs2: Add helper function in uptodate.c ...
, Mark Fasheh
, (Tue Oct 7, 1:18 pm)
Re: [PATCH 11/39] ocfs2: Add extent tree operation for xat ...
, Mark Fasheh
, (Tue Oct 7, 1:19 pm)
Re: [PATCH 13/39] ocfs2: Add extended attribute support
, Mark Fasheh
, (Tue Oct 7, 1:22 pm)
Re: [PATCH 11/39] ocfs2: Add extent tree operation for xat ...
, Mark Fasheh
, (Tue Oct 7, 2:19 pm)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Mark Fasheh
, (Tue Oct 7, 3:08 pm)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Tiger Yang
, (Tue Oct 7, 6:56 pm)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Christoph Hellwig
, (Wed Oct 8, 6:16 am)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Christoph Hellwig
, (Wed Oct 8, 6:22 am)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Christoph Hellwig
, (Wed Oct 8, 6:34 am)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Tao Ma
, (Wed Oct 8, 7:04 am)
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attrib ...
, Mark Fasheh
, (Wed Oct 8, 5:38 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate