The patch titled Subject: linux-next-git-rejects has been added to the -mm tree. Its filename is linux-next-git-rejects.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/linux-next-git-rejects.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/linux-next-git-rejects.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: linux-next-git-rejects Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/nfsd/nfs4state.c | 4 -- include/linux/sunrpc/svc_rdma.h | 4 -- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 37 ---------------------- 3 files changed, 45 deletions(-) --- a/fs/nfsd/nfs4state.c~linux-next-git-rejects +++ a/fs/nfsd/nfs4state.c @@ -5382,11 +5382,7 @@ nfs4_laundromat(struct nfsd_net *nn) idr_for_each_entry(&nn->s2s_cp_stateids, cps_t, i) { cps = container_of(cps_t, struct nfs4_cpntf_state, cp_stateid); if (cps->cp_stateid.sc_type == NFS4_COPYNOTIFY_STID && -<<<<<<< HEAD - cps->cpntf_time < cutoff) -======= state_expired(<, cps->cpntf_time)) ->>>>>>> linux-next/akpm-base _free_cpntf_state_locked(nn, cps); } spin_unlock(&nn->s2s_cp_lock); --- a/include/linux/sunrpc/svc_rdma.h~linux-next-git-rejects +++ a/include/linux/sunrpc/svc_rdma.h @@ -106,10 +106,6 @@ struct svcxprt_rdma { wait_queue_head_t sc_send_wait; /* SQ exhaustion waitlist */ unsigned long sc_flags; -<<<<<<< HEAD - struct list_head sc_read_complete_q; -======= ->>>>>>> linux-next/akpm-base struct work_struct sc_work; struct llist_head sc_recv_ctxts; --- a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c~linux-next-git-rejects +++ a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c @@ -263,30 +263,6 @@ static int __svc_rdma_post_recv(struct s { int ret; -<<<<<<< HEAD - trace_svcrdma_post_recv(ctxt); - ret = ib_post_recv(rdma->sc_qp, &ctxt->rc_recv_wr, NULL); - if (ret) - goto err_post; - return 0; - -err_post: - trace_svcrdma_rq_post_err(rdma, ret); - svc_rdma_recv_ctxt_put(rdma, ctxt); - return ret; -} - -static int svc_rdma_post_recv(struct svcxprt_rdma *rdma) -{ - struct svc_rdma_recv_ctxt *ctxt; - - if (test_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags)) - return 0; - ctxt = svc_rdma_recv_ctxt_get(rdma); - if (!ctxt) - return -ENOMEM; - return __svc_rdma_post_recv(rdma, ctxt); -======= if (test_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags)) return false; @@ -321,7 +297,6 @@ err_free: /* Since we're destroying the xprt, no need to reset * sc_pending_recvs. */ return false; ->>>>>>> linux-next/akpm-base } /** @@ -369,10 +344,6 @@ static void svc_rdma_wc_receive(struct i if (wc->status != IB_WC_SUCCESS) goto flushed; -<<<<<<< HEAD - if (svc_rdma_post_recv(rdma)) - goto post_err; -======= /* If receive posting fails, the connection is about to be * lost anyway. The server will not be able to send a reply * for this RPC, and the client will retransmit this RPC @@ -385,7 +356,6 @@ static void svc_rdma_wc_receive(struct i if (rdma->sc_pending_recvs < rdma->sc_max_requests) if (!svc_rdma_refresh_recvs(rdma, rdma->sc_recv_batch, false)) goto flushed; ->>>>>>> linux-next/akpm-base /* All wc fields are now known to be valid */ ctxt->rc_byte_len = wc->byte_len; @@ -400,15 +370,8 @@ static void svc_rdma_wc_receive(struct i return; flushed: -<<<<<<< HEAD -post_err: - svc_rdma_recv_ctxt_put(rdma, ctxt); - set_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags); - svc_xprt_enqueue(&rdma->sc_xprt); -======= svc_rdma_recv_ctxt_put(rdma, ctxt); svc_xprt_deferred_close(&rdma->sc_xprt); ->>>>>>> linux-next/akpm-base } /** _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm.patch mm-memcontrol-switch-to-rstat-fix.patch kasan-remove-redundant-config-option-fix.patch mmmemory_hotplug-allocate-memmap-from-the-added-memory-range-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch linux-next-git-rejects.patch