Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Tom Talpey
On 5/18/2018 1:58 PM, Long Li wrote: Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option On Fri, May 18, 2018 at 12:00 PM, Long Li via samba-technical wrote: Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li

Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Tom Talpey
On 5/18/2018 1:58 PM, Long Li wrote: Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option On Fri, May 18, 2018 at 12:00 PM, Long Li via samba-technical wrote: Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li

RE: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Long Li
> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option > > On Fri, May 18, 2018 at 12:00 PM, Long Li via samba-technical techni...@lists.samba.org> wrote: > >> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option > >> > >> O

RE: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Long Li
> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option > > On Fri, May 18, 2018 at 12:00 PM, Long Li via samba-technical techni...@lists.samba.org> wrote: > >> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option > >> > >> O

Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Steve French
On Fri, May 18, 2018 at 12:00 PM, Long Li via samba-technical <samba-techni...@lists.samba.org> wrote: >> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option >> >> On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li wrote: >> > From: Long Li <

Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Steve French
On Fri, May 18, 2018 at 12:00 PM, Long Li via samba-technical wrote: >> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option >> >> On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li wrote: >> > From: Long Li >> > >> > When ca

RE: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Long Li
> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option > > On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li wrote: > > From: Long Li <lon...@microsoft.com> > > > > When cache=rdma is enabled on mount options, CIFS do not allocate > > i

RE: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Long Li
> Subject: Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option > > On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li wrote: > > From: Long Li > > > > When cache=rdma is enabled on mount options, CIFS do not allocate > > internal data buffer pages for

Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Christoph Hellwig
On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li wrote: > From: Long Li > > When cache=rdma is enabled on mount options, CIFS do not allocate internal > data > buffer pages for I/O, data is read/writen directly to user memory via RDMA. I don't think this should be an

Re: [RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-18 Thread Christoph Hellwig
On Thu, May 17, 2018 at 05:22:14PM -0700, Long Li wrote: > From: Long Li > > When cache=rdma is enabled on mount options, CIFS do not allocate internal > data > buffer pages for I/O, data is read/writen directly to user memory via RDMA. I don't think this should be an option. For direct I/O

[RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-17 Thread Long Li
From: Long Li When cache=rdma is enabled on mount options, CIFS do not allocate internal data buffer pages for I/O, data is read/writen directly to user memory via RDMA. Signed-off-by: Long Li --- fs/cifs/cifs_fs_sb.h | 2 ++ fs/cifs/cifsglob.h |

[RFC PATCH 09/09] Introduce cache=rdma moutning option

2018-05-17 Thread Long Li
From: Long Li When cache=rdma is enabled on mount options, CIFS do not allocate internal data buffer pages for I/O, data is read/writen directly to user memory via RDMA. Signed-off-by: Long Li --- fs/cifs/cifs_fs_sb.h | 2 ++ fs/cifs/cifsglob.h | 1 + fs/cifs/connect.c| 9 +