Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1307716lqb; Sat, 25 May 2024 15:55:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOuPvc98xxudTzrFjPl8jIvHqDT35aMEuI+8v5V4gCM7OkSZMXL8MStQEJjYzn1wkY3ZtyZZsvB/wRz9j/28Yle1FyS5hO2JQF20JMgg== X-Google-Smtp-Source: AGHT+IHM2jLcgmpnqgDZsfribFzjK+S3DEPAENO3OoE1DxvN1HQSVGNFe+VlkdRwIGV1CIbncnbN X-Received: by 2002:a17:906:4ac1:b0:a5a:8bc4:f503 with SMTP id a640c23a62f3a-a62641dfe3fmr356733366b.25.1716677703468; Sat, 25 May 2024 15:55:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716677703; cv=pass; d=google.com; s=arc-20160816; b=vB7znmQgOMwOmj2QzE+AQl8LZhQKC6vf3tjQVs/ltm36t0LGZLkBZdAdIscO6bqrM6 8xmGA32+DNc3xChV9jpTUn8xPpfhkXdivWtwSxLN4lJn6TlhbjanibGG7lDv7y1bpZfo e6cbMNONf1JYQfSPGyKnpo5lrQ/ZbD/MnHPAbgO4py0SAoy5I3xHv4ee/59wrV3O/kyj MiJS22sPQu6LnGNZ0hZaGkwi6nJE8XzJtiOswE6O7SJ3yOL/kUy9YehjT7kHGH3NpR6b RsoKuxWSoQO59rnw4X9lM0xCzN6R7bx92xgs6aPYkux0zkaw20mLKrJtSk7qTdBPJ6BS Nb9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=weBCb6P6ludBpc7zn9AlObj/fNR5H8QjdFVNqQ+luR8=; fh=80GldgX05XNxo0+VZKjRMVQhO/G4C+2iJh7C+e0VWDg=; b=HXGoBiVHflgLM4k6DaSX9OYWjbGzlkRCOe7td8qMabwTlqoVss/MPJih2BHpD7lvlF myNGyZnKBpC48P5thH2qm/sNDhdylDdejYzr4GWI4k6TstE59WSmAO2IOvLFPNMPuSsl il/GnUt7OtWXdQG7vDv9JfSy6CFCaPJj4UAetlw+lqM4XK92FIwoOwBiVHaJayNPpUyH gHlErd8c9PE/Ys4KJ9Myr6TGxFCY27UnRSwZ30awUduLiAa9xEfzkn3CoEAF3m03NFPF o4ltvUHiMlhFusnqVs1w7jvY03IQ0c/Zer0tfaoOxd5FQ3VCBRQNx2DfK9kLvzJG/uoG wxaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=If8UsvQk; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-189555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cdcd992si224212466b.913.2024.05.25.15.55.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 15:55:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=If8UsvQk; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-189555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3313C1F216D0 for ; Sat, 25 May 2024 22:55:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28F69128382; Sat, 25 May 2024 22:54:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b="If8UsvQk" Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04C6722EE9 for ; Sat, 25 May 2024 22:54:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716677692; cv=none; b=Viua626FC1J2hwWuM93jTrZCAgG/OtJHlaPOPFTKNtM0xNN+2hBaCnTGv2PmqoP2XU6CksIpU5dmvVYB2r2HH5MpRX6RHePqE/kZHLmbG0Pdqz2EDUqhnatP/GIvIq6Wjd+OFfCJpZEBwyHajnlra1xyP1LiWC+xqYLGe5TU20o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716677692; c=relaxed/simple; bh=2So4wsJ4xPrDNuBQCitTz9SGIXIJfHFTKO8rs9jyN9g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Cw+jAzAwe5EV9xXchvfNrKO2mjWp7Xhd6dBv8Tjf3/wOwAfy7Zsp72ZL2CMI6D4VXuh8pdw/If8qhIpbJyk7z4aQFzM8NoU8wrcUYnoCwKoPvOTp/x8aSw/RGlEM56yfcBlooPvaQ/5Y0ymBjfB+SBRzVyz4uTtl3bDpeBrBhis= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com; spf=pass smtp.mailfrom=fromorbit.com; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b=If8UsvQk; arc=none smtp.client-ip=209.85.216.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fromorbit.com Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2bdd8968dabso2348478a91.3 for ; Sat, 25 May 2024 15:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1716677690; x=1717282490; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=weBCb6P6ludBpc7zn9AlObj/fNR5H8QjdFVNqQ+luR8=; b=If8UsvQk26kOjKdU7XdTom9dZCnZ9j2CFGu3sBdr2T/gr0Euw5nW4J9PKYwA867Lk2 7ksHMsWOcgq0Tc6eqxm5+sJKXiBgs20Bp1SdQhY97Zg4M1ttt8Yd6LYhKBF4mdchYPIq 7K6s7tetggiDjGiakhRLjTjQQVrGg7hgTy5GiCdoHNPzD7/En1ukYKz3+fRchWQTQIsZ bBu1xeMwkFsDLj9phlLvnx3y3SlBEydjxZDzRsVfSMiuk2bhKGeVK59brUSzjs8ELEHg tfRggTYAS6rkncwS6FS1/xRpH1EKDoQQZkElJP9Nm6a9f2R5j5YER3y8n3qwg7nVw1Ao ILuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716677690; x=1717282490; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=weBCb6P6ludBpc7zn9AlObj/fNR5H8QjdFVNqQ+luR8=; b=Wk8RL87dnJjAkGXvjQfGXboG9mRykDYnI3QoNKfgPMaswbJFVD5uFjbRcY7SZ+c6yr eeMGtnFJm7fNKLMu8SGIO8oMneZ21nYRymS/MR+yFCsrauxiTRM+9HoZopoDiOdYaWeL F3XCTDUaDZ+SokrCYLNYvMJW47x4uNH24SrVcxHjMrbj/yLgyHZzkUEWlzCPKPjBycvM g9mY/GCp3oqVYYPEYc1p68bD2bYxEfOXVmzG32+o5kjCrUZ+T2dBqSiC7gu9AfU/E9T6 W8oTjeWWmr7wckFk1lvRqmQePXfaw4+UCTjfW3zPZY8CCnuc9RH25WbUN96Fr5IjxcAL 3P4Q== X-Forwarded-Encrypted: i=1; AJvYcCXOOoOfIKdT/uPHKDhJjniPfQXr8TXsdosygHqiQEbH4nhHZKTlPjtT++CAZ7PSmv1Fs4Qm4p2BZCvdVUha6UdOulMQE7BLWjjyKB9D X-Gm-Message-State: AOJu0Yw1v9FmHEL2b0o3LnTKp0fBKld5kWcfNgWDPcqtWpIkhtbjw1yv yuwKtfy+Sh9yfhIHSD/InsKGbELsQmFX78mN4A+V0nEo4Gjw4p4+iwqLXXAhJmI= X-Received: by 2002:a17:903:2447:b0:1f2:f8b7:60d4 with SMTP id d9443c01a7336-1f4497daf6cmr66964375ad.52.1716677689821; Sat, 25 May 2024 15:54:49 -0700 (PDT) Received: from dread.disaster.area (pa49-179-32-121.pa.nsw.optusnet.com.au. [49.179.32.121]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f44c967a62sm34768845ad.120.2024.05.25.15.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 15:54:49 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1sB0Hm-00AU4L-21; Sun, 26 May 2024 08:54:46 +1000 Date: Sun, 26 May 2024 08:54:46 +1000 From: Dave Chinner To: Miklos Szeredi Cc: John Groves , linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev Subject: Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, May 24, 2024 at 09:55:48AM +0200, Miklos Szeredi wrote: > On Fri, 24 May 2024 at 02:47, John Groves wrote: > > > Apologies, but I'm short on time at the moment - going into a long holiday > > weekend in the US with family plans. I should be focused again by middle of > > next week. > > NP. > > Obviously I'll need to test it before anything is merged, other than > that this is not urgent at all... > > > But can you check /proc/cmdline to see of the memmap arg got through without > > getting mangled? The '$' tends to get fubar'd. You might need \$, or I've seen > > the need for \\\$. If it's un-mangled, there should be a dax device. > > /proc/cmdline shows the option correctly: > > root@kvm:~# cat /proc/cmdline > root=/dev/vda console=hvc0 memmap=4G$4G > > > If that doesn't work, it's worth trying '!' instead, which I think would give > > you a pmem device - if the arg gets through (but ! is less likely to get > > horked). That pmem device can be converted to devdax... > > That doesn't work either. No device created in /dev (dax or pmem). I think you need to do some ndctl magic to get the memory to be namespaced correctly for the correct devices to appear. https://docs.pmem.io/ndctl-user-guide/managing-namespaces IIRC, need to set the type to pmem and the mode to fsdax, devdax or raw to get the relevant device nodes to be created for the range.. Cheers, Dave. -- Dave Chinner david@fromorbit.com