Re: [RFC PATCH 6/7] RDMA/rxe: Add support for Send/Recv/Write/Read operations with ODP

2022-09-08 Thread Leon Romanovsky
On Wed, Sep 07, 2022 at 11:43:04AM +0900, Daisuke Matsuda wrote: > rxe_mr_copy() is used widely to copy data to/from a user MR. requester uses > it to load payloads of requesting packets; responder uses it to process > Send, Write, and Read operaetions; completer uses it to copy data from > respons

Re: [RFC PATCH 0/7] RDMA/rxe: On-Demand Paging on SoftRoCE

2022-09-08 Thread Zhu Yanjun
On Wed, Sep 7, 2022 at 10:44 AM Daisuke Matsuda wrote: > > Hi everyone, > > This patch series implements the On-Demand Paging feature on SoftRoCE(rxe) > driver, which has been available only in mlx5 driver[1] so far. > > [Overview] > When applications register a memory region(MR), RDMA drivers nor

Re: [RFC PATCH 0/7] RDMA/rxe: On-Demand Paging on SoftRoCE

2022-09-08 Thread matsuda-dais...@fujitsu.com
On Thu, Sep 8, 2022 5:41 PM Zhu Yanjun wrote: > > [How to test ODP?] > > There are only a few resources available for testing. pyverbs testcases in > > rdma-core and perftest[7] are recommendable ones. Note that you may have to > > build perftest from upstream since older versions do not handle ODP

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-09-08 Thread Shiyang Ruan
在 2022/8/4 8:51, Darrick J. Wong 写道: On Wed, Aug 03, 2022 at 06:47:24AM +, ruansy.f...@fujitsu.com wrote: ... BTW, since these patches (dax&reflink&rmap + THIS + pmem-unbind) are waiting to be merged, is it time to think about "removing the experimental tag" again? :) It's probably

Re: [RFC PATCH 5/7] RDMA/rxe: Allow registering MRs for On-Demand Paging

2022-09-08 Thread Haris Iqbal
On Wed, Sep 7, 2022 at 4:45 AM Daisuke Matsuda wrote: > > Allow applications to register an ODP-enabled MR, in which case the flag > IB_ACCESS_ON_DEMAND is passed to rxe_reg_user_mr(). However, there is no > RDMA operation supported right now. They will be enabled later in the > subsequent two pat

Re: [PATCH -next] memregion: Add arch_flush_memregion() interface

2022-09-08 Thread Dan Williams
Jonathan Cameron wrote: > On Wed, 7 Sep 2022 18:07:31 -0700 > Dan Williams wrote: > > > Andrew Morton wrote: > > > I really dislike the term "flush". Sometimes it means writeback, > > > sometimes it means invalidate. Perhaps at other times it means > > > both. > > > > > > Can we please be very

Re: [PATCH -next] memregion: Add arch_flush_memregion() interface

2022-09-08 Thread Andrew Morton
On Thu, 8 Sep 2022 15:51:50 -0700 Dan Williams wrote: > Jonathan Cameron wrote: > > On Wed, 7 Sep 2022 18:07:31 -0700 > > Dan Williams wrote: > > > > > Andrew Morton wrote: > > > > I really dislike the term "flush". Sometimes it means writeback, > > > > sometimes it means invalidate. Perhaps

Re: [PATCH -next] memregion: Add arch_flush_memregion() interface

2022-09-08 Thread Dan Williams
Andrew Morton wrote: > On Thu, 8 Sep 2022 15:51:50 -0700 Dan Williams > wrote: > > > Jonathan Cameron wrote: > > > On Wed, 7 Sep 2022 18:07:31 -0700 > > > Dan Williams wrote: > > > > > > > Andrew Morton wrote: > > > > > I really dislike the term "flush". Sometimes it means writeback, > > > >

RE: [RFC PATCH 5/7] RDMA/rxe: Allow registering MRs for On-Demand Paging

2022-09-08 Thread matsuda-dais...@fujitsu.com
On Fri, Sep 9, 2022 1:58 AM Haris Iqbal wrote: > On Wed, Sep 7, 2022 at 4:45 AM Daisuke Matsuda > wrote: > > > > Allow applications to register an ODP-enabled MR, in which case the flag > > IB_ACCESS_ON_DEMAND is passed to rxe_reg_user_mr(). However, there is no > > RDMA operation supported right

Re: [RFC PATCH 6/7] RDMA/rxe: Add support for Send/Recv/Write/Read operations with ODP

2022-09-08 Thread matsuda-dais...@fujitsu.com
On Thu, Sep 8, 2022 5:30 PM Leon Romanovsky wrote: > On Wed, Sep 07, 2022 at 11:43:04AM +0900, Daisuke Matsuda wrote: > > rxe_mr_copy() is used widely to copy data to/from a user MR. requester uses > > it to load payloads of requesting packets; responder uses it to process > > Send, Write, and Read

Re: [RFC PATCH 0/7] RDMA/rxe: On-Demand Paging on SoftRoCE

2022-09-08 Thread Li Zhijian
Daisuke Great job. I love this feature, before starting reviewing you patches, i tested it with QEMU(with fsdax memory-backend) migration over RDMA where it worked for MLX5 before. This time, with you ODP patches, it works on RXE though ibv_advise_mr may be not yet ready. Thanks Zhijian O