Commit ff053db
Trond Myklebust
SUNRPC: Move the call to xprt_send_pagedata() out of xprt_sock_sendmsg()
The client and server have different requirements for their memory
allocation, so move the allocation of the send buffer out of the socket
send code that is common to both.
Reported-by: NeilBrown <neilb@suse.de>
Fixes: b264801 ("SUNRPC: Make the rpciod and xprtiod slab allocation modes consistent")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent b056fa0 commit ff053db
3 files changed
Lines changed: 19 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 224 | | |
231 | 225 | | |
232 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
582 | 586 | | |
583 | | - | |
584 | 587 | | |
585 | 588 | | |
586 | 589 | | |
587 | | - | |
588 | 590 | | |
| 591 | + | |
589 | 592 | | |
590 | | - | |
| 593 | + | |
591 | 594 | | |
592 | 595 | | |
593 | 596 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
828 | 834 | | |
829 | | - | |
830 | | - | |
| 835 | + | |
831 | 836 | | |
832 | 837 | | |
833 | 838 | | |
| |||
956 | 961 | | |
957 | 962 | | |
958 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
959 | 967 | | |
960 | 968 | | |
961 | 969 | | |
| |||
2554 | 2562 | | |
2555 | 2563 | | |
2556 | 2564 | | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
2557 | 2568 | | |
2558 | 2569 | | |
2559 | 2570 | | |
| |||
0 commit comments