Whamcloud - gitweb
LU-2016 mdd: add layout swap between 2 objects
authorjcl <jacques-charles.lafoucriere@cea.fr>
Thu, 4 Oct 2012 19:51:49 +0000 (21:51 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 17 Dec 2012 05:07:30 +0000 (00:07 -0500)
commitc474bf9f9b9888f6056ea1832edb6a73a7607645
tree4ff534fed22573bbfa71412fcaf3e0f6a7ae42a5
parent33257361eef3aeb09eee0d10026be17b6f3f5bcb
LU-2016 mdd: add layout swap between 2 objects

This patch add a new method in mdd to swap the layouts between
2 lustre objects.
The 2 objects have to be of the same type.

Change-Id: I26dfef2745eac67168aeceac196453c5126148fd
Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-on: http://review.whamcloud.com/4189
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/md_object.h
lustre/lod/lod_object.c
lustre/mdd/mdd_device.c
lustre/mdd/mdd_object.c