X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Flayout.c;h=66b0dc14026e6b6550ed2a4f0591be1fbfe322f1;hp=86f44a29ae39a1f1cef5367a7ddad981ad8628dd;hb=cff450108c604eebd211e719007800539b537a61;hpb=2c74bfcb7a06addb42e79c1f561afb0acfaaa7d0 diff --git a/lustre/ptlrpc/layout.c b/lustre/ptlrpc/layout.c index 86f44a2..66b0dc1 100644 --- a/lustre/ptlrpc/layout.c +++ b/lustre/ptlrpc/layout.c @@ -574,6 +574,7 @@ static const struct req_format *req_formats[] = { &RQF_OST_BRW, &RQF_OST_STATFS, &RQF_OST_SET_INFO, + &RQF_OST_SET_GRANT_INFO, &RQF_OST_GET_INFO_GENERIC, &RQF_OST_GET_INFO_LAST_ID, &RQF_OST_GET_INFO_FIEMAP, @@ -1202,6 +1203,11 @@ const struct req_format RQF_OST_SET_INFO = DEFINE_REQ_FMT0("OST_SET_INFO", ost_set_info_client, empty); EXPORT_SYMBOL(RQF_OST_SET_INFO); +const struct req_format RQF_OST_SET_GRANT_INFO = + DEFINE_REQ_FMT0("OST_SET_GRANT_INFO", ost_set_info_client, + ost_body_only); +EXPORT_SYMBOL(RQF_OST_SET_GRANT_INFO); + const struct req_format RQF_OST_GET_INFO_GENERIC = DEFINE_REQ_FMT0("OST_GET_INFO", ost_get_info_generic_client, ost_get_info_generic_server);