Whamcloud - gitweb
LU-2449 osd: osd-zfs to handle ./.. properly
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Mon, 7 Jan 2013 17:30:17 +0000 (21:30 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 8 Feb 2013 17:47:31 +0000 (12:47 -0500)
commit2acb75c36511aca9f30ca381562dc8f1ea451bd4
treeec8416803717b08f51675e395fc37df963a9fd54
parent79d06b6fac3d18f2e5755a940e8afa42e70f3ba2
LU-2449 osd: osd-zfs to handle ./.. properly

ZFS does not store directory records . and .. on a disk.
Instead they are generated upon request (like in zfs_readdir()).
with the patch osd-zfs does the same for namespace directories.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I910f9bad807c0e5a2bee1fd481470576ceaf4444
Reviewed-on: http://review.whamcloud.com/4990
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>
lustre/osd-zfs/osd_index.c
lustre/osd-zfs/osd_internal.h