Return-Path: Received: from mail-wm0-f42.google.com ([74.125.82.42]:35820 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752838AbcBAKgb (ORCPT ); Mon, 1 Feb 2016 05:36:31 -0500 Received: by mail-wm0-f42.google.com with SMTP id r129so63263746wmr.0 for ; Mon, 01 Feb 2016 02:36:10 -0800 (PST) Subject: Re: [LSF/MM TOPIC/ATTEND] RDMA passive target To: Yigal Korman , Boaz Harrosh References: <06414D5A-0632-4C74-B76C-038093E8AED3@oracle.com> <56A8F646.5020003@plexistor.com> <56A8FE10.7000309@dev.mellanox.co.il> <56AE181A.8030908@plexistor.com> Cc: Chuck Lever , lsf-pc@lists.linux-foundation.org, Dan Williams , Linux NFS Mailing List , Linux RDMA Mailing List , linux-fsdevel , Jan Kara , Ric Wheeler From: Sagi Grimberg Message-ID: <56AF3516.8000909@dev.mellanox.co.il> Date: Mon, 1 Feb 2016 12:36:06 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: >>>> The almost is because: >>>> 1. If the target is over a /dev/pmemX then all is fine we have 2M contiguous >>>> memory blocks. >>>> 2. If the target is over an FS, we have a proposal pending for an falloc_2M_flag >>>> to ask the FS for a contiguous 2M allocations only. If any of the 2M allocations >>>> fail then return ENOSPC from falloc. This way we guaranty that each 2M block can be >>>> mapped by a single RDAM handle. >>> >>> Umm, you don't need the 2M to be contiguous in order to represent them >>> as a single RDMA handle. If that was true iSER would have never worked. >>> Or I misunderstood what you meant... >>> >> >> OK I will let our RDMA guy Yigal Korman answer that, I guess you might be right. > > When Boaz says 'RDMA handle', he means the pair [rkey,remote_addr]. > AFAIK the remote_addr describes a continuous memory space on the target. > So if you want to write to this 'handle' - it must be continuous. > Please correct me if I'm wrong. OK, this is definitely wrong. But let's defer this discussion to another thread as it's not relevant to lsf folks...