Whamcloud - gitweb
LU-10070 lod: SEL: split lod_del_layout 80/33780/22
authorPatrick Farrell <paf@cray.com>
Wed, 19 Jun 2019 21:29:12 +0000 (00:29 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Jul 2019 05:20:48 +0000 (05:20 +0000)
commit96bfcd13b6cc3fce12f1e6f5abe4971cc8a59e1f
tree84d493059657f580492f9eb073505791a55e1d52
parentc1aaa3e55090c7a5e067ec52cf74b2e6406133d2
LU-10070 lod: SEL: split lod_del_layout

SEL deletes layout components as part of other operations,
rather than only as a separate delete operation.

So we split lod_layout_del in to a function that prepares
the layout and one that writes it out.  The prep_layout
function will be used in later patches.

Cray-bug-id:  LUS-2528
Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: I5d7270db9a8d9bc94f4571906ed9e2d4a17a151b
Reviewed-on: https://review.whamcloud.com/33780
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_object.c