Re: bcachefs xattr
From: Ming Lin <mlin@kernel.org>
Date: 2015-08-13 07:49:16
From: Ming Lin <mlin@kernel.org>
Date: 2015-08-13 07:49:16
On Wed, 2015-08-12 at 23:41 -0800, Kent Overstreet wrote:
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"?