Whamcloud - gitweb
LU-2267 osd-zfs: Use appropriate ZFS flags for file attributes
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Tue, 9 Apr 2013 12:40:42 +0000 (08:40 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Apr 2013 20:46:37 +0000 (16:46 -0400)
commit0443898cd253cea9905727f38dd027d91e614358
tree3d4609897843e790ac7ff2634fcacd32c197c757
parentec0c7b569d5a2f25c8ea80f515d2bdc853abc7df
LU-2267 osd-zfs: Use appropriate ZFS flags for file attributes

Instead of setting arbitrary bits in pflags, convert to use existing
ZFS attributes.  This format is different from previous implementation
and will cause older filesystems with attrs set to not behave
correctly.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ia0aac3e12adedd95b215f93ebe538a61abf910fa
Reviewed-on: http://review.whamcloud.com/5988
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_object.c