Whamcloud - gitweb
LU-2733 osd: not return "-ENOENT" for zfs osd_object_init
authorFan Yong <yong.fan@whamcloud.com>
Sat, 12 Jan 2013 23:02:35 +0000 (07:02 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 2 Feb 2013 07:00:09 +0000 (02:00 -0500)
commit8fa27491bbc4440f1a09dc3c42919140e3146cae
tree18889ab868887fcadee2a60f96be27f3d80c7ee0
parentd6ab8d43c8b5c47dccee43c31ed9f7b6e6513700
LU-2733 osd: not return "-ENOENT" for zfs osd_object_init

For zfs backend, the osd_object_init() should not return
"-ENOENT" if osd_fid_lookup() cannot find the object,
which is normal for new created cases.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I76e5d802d0caf8ac3a9992278ec2f7c6c6e2cf07
Reviewed-on: http://review.whamcloud.com/5242
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/osd-zfs/osd_object.c