Re: [PATCH] SUNRPC: Flush dcache only when receiving more seeking

2020-09-19 Thread He Zhe
On 9/19/20 12:23 AM, Chuck Lever wrote: > >> On Sep 18, 2020, at 8:50 AM, zhe...@windriver.com wrote: >> >> From: He Zhe >> >> commit ca07eda33e01 ("SUNRPC: Refactor svc_recvfrom()") introduces >> svc_flush_bvec to after sock_recvmsg, but sometimes we receive less than we >> seek, which trigger

Re: [PATCH] SUNRPC: Flush dcache only when receiving more seeking

2020-09-18 Thread Chuck Lever
> On Sep 18, 2020, at 8:50 AM, zhe...@windriver.com wrote: > > From: He Zhe > > commit ca07eda33e01 ("SUNRPC: Refactor svc_recvfrom()") introduces > svc_flush_bvec to after sock_recvmsg, but sometimes we receive less than we > seek, which triggers the following warning. > > WARNING: CPU: 0 P

[PATCH] SUNRPC: Flush dcache only when receiving more seeking

2020-09-18 Thread zhe.he
From: He Zhe commit ca07eda33e01 ("SUNRPC: Refactor svc_recvfrom()") introduces svc_flush_bvec to after sock_recvmsg, but sometimes we receive less than we seek, which triggers the following warning. WARNING: CPU: 0 PID: 18266 at include/linux/bvec.h:101 bvec_iter_advance+0x44/0xa8 Attempted to