X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fnrs.c;h=5343ab3a6ae22e8eee71f95902a0f412d8af40c8;hb=6fe7c32906f67f43d815c884ed8a902bb2333992;hp=f4700f815c7948eca5955f17d6f076048b345b49;hpb=2709cc886caaeeba428937f0bb791404f38b9830;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/nrs.c b/lustre/ptlrpc/nrs.c index f4700f8..5343ab3 100644 --- a/lustre/ptlrpc/nrs.c +++ b/lustre/ptlrpc/nrs.c @@ -1744,6 +1744,9 @@ extern struct ptlrpc_nrs_pol_conf nrs_conf_fifo; #if defined HAVE_SERVER_SUPPORT && defined(__KERNEL__) /* ptlrpc/nrs_crr.c */ extern struct ptlrpc_nrs_pol_conf nrs_conf_crrn; +/* ptlrpc/nrs_orr.c */ +extern struct ptlrpc_nrs_pol_conf nrs_conf_orr; +extern struct ptlrpc_nrs_pol_conf nrs_conf_trr; #endif /** @@ -1769,6 +1772,14 @@ int ptlrpc_nrs_init(void) rc = ptlrpc_nrs_policy_register(&nrs_conf_crrn); if (rc != 0) GOTO(fail, rc); + + rc = ptlrpc_nrs_policy_register(&nrs_conf_orr); + if (rc != 0) + GOTO(fail, rc); + + rc = ptlrpc_nrs_policy_register(&nrs_conf_trr); + if (rc != 0) + GOTO(fail, rc); #endif RETURN(rc);