Whamcloud - gitweb
LU-7225 llite: ladvise protocol changes 66/20666/20
authorPatrick Farrell <paf@cray.com>
Mon, 1 Aug 2016 18:45:10 +0000 (13:45 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 15 Aug 2016 21:09:27 +0000 (21:09 +0000)
commit88fcc76b8dcd6febf780ad0503d725283e3c45c4
tree5a7478c11dca6c0d7bba0f0b41baa1160705d384
parent96509385abe2d03bd9212edef26e4aabe0ebf8bd
LU-7225 llite: ladvise protocol changes

This patch makes some changes to the ladvise API and
protocol to support lock ahead and possible future users.

Primarily, it separates the userspace API arguments from
the structures which go out on the network, and adds a
number of 'value' fields without a predefined use.

The meaning of each value field can be different for
different advice types, allowing some extensibility.

Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: I7ac18e546f16a20c3c6bc6849becb0d45e3d5dc9
Reviewed-on: http://review.whamcloud.com/20666
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre/lustre_user.h
lustre/include/lustre/lustreapi.h
lustre/llite/file.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/lfs.c
lustre/utils/liblustreapi_ladvise.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c