Adding Brian Behlendorf to the CC list, as we were just talking about this yesterday at LUG. :) I suspect this is a bug; the posix docs indicate ERANGE is apprpriate here: [ERANGE] value (as indicated by size) is too small to hold the extended attribute data. from http://www.unix.com/man-page/all/2/GETXATTR/. sage On Wed, 17 Apr 2013, Jeff Mitchell wrote: > 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 > > -- 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