[PATCH] optimize btrget/set/removexattr

2008-08-23 Thread Christoph Hellwig
btrfs actually stores the whole xattr name, including the prefix ondisk, so using the generic resolver that strips off the prefix is not very helpful. Instead do the real ondisk xattrs manually and only use the generic resolver for synthetic xattrs like ACLs. (Sorry Josef for guiding you towards

Re: btrfs crash

2008-08-23 Thread Josef Bacik
On Sat, Aug 23, 2008 at 04:37:46PM +0300, Priit Laes wrote: > Hey! > > Got following crash while copying files to btrfs partition with latest > unstable btrfs. > Partition itself is a 6GB image residing on ext3 partition. > > > cp used greatest stack depth: 3504 bytes left > space info full 1 >

btrfs crash

2008-08-23 Thread Priit Laes
Hey! Got following crash while copying files to btrfs partition with latest unstable btrfs. Partition itself is a 6GB image residing on ext3 partition. cp used greatest stack depth: 3504 bytes left space info full 1 allocation failed flags 1 [ cut here ] kernel BUG at /va