Whamcloud - gitweb
LU-10318 dom: support DATA_VERSION IO type 49/30449/14
authorMikhal Pershin <mike.pershin@intel.com>
Tue, 5 Dec 2017 20:10:02 +0000 (23:10 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Mar 2018 04:28:36 +0000 (04:28 +0000)
commit1e7fc14bbf48f7e89876cbaa609972981e343944
tree9868a23e21612c5a612149dd0dd4e4a6c92bb55b
parenta74b2b5bce71367506e59f1bdba163eb21235a29
LU-10318 dom: support DATA_VERSION IO type

add support for DATA_VERSION IO type, return from MDT
data version and layout version if requested by CLIO.
Also ensure that version is changed on punch and write
operations.
This fixes HSM archive with DOM files.

Change-Id: Id7b63697ffc48c889370638682625ea04a0348c5
Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Reviewed-on: https://review.whamcloud.com/30449
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
15 files changed:
lustre/include/lu_target.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/mdc/mdc_dev.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_io.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/target/tgt_handler.c
lustre/tests/sanity-hsm.sh
lustre/utils/wirecheck.c
lustre/utils/wirehdr.c
lustre/utils/wiretest.c