Thread (4 messages) 4 messages, 2 authors, 2015-08-13

Re: bcachefs xattr

From: Kent Overstreet <hidden>
Date: 2015-08-13 07:50:53

On Thu, Aug 13, 2015 at 12:49:13AM -0700, Ming Lin wrote:
On Wed, 2015-08-12 at 23:41 -0800, Kent Overstreet wrote:
quoted
On Thu, Aug 13, 2015 at 12:39:07AM -0700, Ming Lin wrote:
quoted
Hi Kent,

Seems the max length of xattr name+value is only 2004 bytes.
Why the limit of U8_MAX below?
The size of the key and value is stored as a u8 in units of u64s - the u64s
field of struct bkey.
xfstests/generic/020 failed.
Got it now.

xfs supports 64KB values.
In order to support larger size of value, does it make sense to store
the value in "extent"?
Perhaps, but let's leave that for now and add it if there's demand for it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help