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: > > 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"? -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html