getxattr linux man page says ERANGE will be returned if the size of the value buffer is too small to hold the result. Thus, I think it is a bug of ZFS (or ZOL, at least). 2013/4/18 Jeff Mitchell <jeffrey.mitchell@xxxxxxxxx>: > Henry C Chang wrote: >> >> I looked into this problem earlier. The problem is that zfs does not >> return ERANGE when the size of value buffer passed to getxattr is too >> small. zfs returns with truncated xattr value. > > > Is this a bug in ZFS, or simply different behavior? > > I've used ZFSonLinux quite a bit and they do seem to be very eager to fix > bugs related to improper behavior, so if it's actually a bug I/someone can > talk to them and try to get them to look at it soonish. > > --Jeff > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html