Whamcloud - gitweb
LU-3606 lustre: Reserve OST_FALLOCATE(fallocate) opcode 77/37277/4
authorSwapnil Pimpale <spimpale@ddn.com>
Wed, 1 Jan 2020 00:42:57 +0000 (06:12 +0530)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Jan 2020 06:04:09 +0000 (06:04 +0000)
commit46a11df089c92f0d18e6f3224eca76abfcd0ac67
tree9a99ecc81647e4309f6fad491003f853f0a07e79
parent853d180121a6e313ffe678bbe5c107d7afc601d5
LU-3606 lustre: Reserve OST_FALLOCATE(fallocate) opcode

A new RPC, OST_FALLOCATE has been added for
space preallocation. This patch reserves
OST_FALLOCATE opcode for fallocate syscall.
Reserving opcode upfront would ensure consistency
and would avoid protocol interoperability issues
in the future.

Test-Parameters: trivial testlist=sanity,sanityn,sanity-dom
Signed-off-by: Swapnil Pimpale <spimpale@ddn.com>
Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Abrarahmed Momin <abrar.momin@gmail.com>
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Change-Id: Ie109f8f5720dec6d34c5ce4f7732fe49ccb47cd9
Reviewed-on: https://review.whamcloud.com/37277
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c