Re: Xattrs in reiser4...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Horne wrote:
> 2008/12/17 Edward Shishkin <edward.shishkin@xxxxxxxxx>
>
>
>     Can you say more about this?
>     Do you know an application that requires xattrs of length longer then
>     4000 bytes?
>
>
> User xattrs. What I'm thinking is that if you can set arbitrary
> key:value pairs (which, of course, you can - through setfattr) the
> "high bound"  number of xattrs per inode, and therefore total data
> stored is pretty much unlimited.
>   

Yes, there is no doubt, that somebody will want to shove
a gigabyte of information by using setxattr(2) :)
The question is "whether it is really needed?"

Well, I think, we can implement xattrs with the mentioned
limit for now. If it won't be enough for serious applications
(it will be clear before xattrs release), then we'll think about
new stat-data plugin.

Edward.

>
>     >
>     > So, the temptation is to have something similar to the file plugin for
>     > individual xattrs, with the xattr functions on a vfs file acting like
>     > a directory of xattr-files. There'd be a large number of small objects
>     > in the tree, of course, but that's a situation I understand R4 handles
>     > well..
>     >
>     > So, what do you think?
>
>     Let's forget about file-as-dir stuff. All what we need is a new file plugin
>     with non-NULL methods, responsible for work with xattrs , and (maybe)
>     a new stat-data plugin, which can handle stat-data items of arbitrary
>     length.
>
>
> Agreed.
>
> --
> DH
>
>   

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux