From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (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 D7F6E399A49 for ; Wed, 7 Jan 2026 15:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767800107; cv=none; b=OZfWa+ry3fzrYcxyZ7Y4jSoxXsAyKua/L9ytgm97tMcHO0VRwpKouGCOVcajG47MIy511u7+zWYKP5j301XidfpL5X6PqQFWQwXD0ETAKG4pEjdwRICpGftCWqRQL1700Z2eiYQ+FG4zNvixTJ8ky0g+gLH66LGCwLzlSMH9gco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767800107; c=relaxed/simple; bh=T7kVRtDmArs/KXDA6UJCem652WSoCrheiHFH0MGwghY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Eo82zQUxayH8o3ONYxniCTE0yVJzD6JKso10Ef2rvvaKksBHYwhll3uyzv/Be3NJu2fGON0A6kmP0FX9GDcf7QJULMSGoUqDFl1kaMbYsgTHsvGCpfwimSEuXwfo8jNnHRqsjNJDPe80XHBncy1WN61cx+RTf/8KPC42gRnx6WY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=Groves.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YDPCSqem; arc=none smtp.client-ip=209.85.167.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=Groves.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YDPCSqem" Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-45085a4ab72so1326693b6e.1 for ; Wed, 07 Jan 2026 07:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767800103; x=1768404903; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=BslOQ1R3lDLc6puAK0BHaW8erjjx+/BdZBfKYLZomH0=; b=YDPCSqemylFWmNwdjKiZbbsOOgCFlGMOQ8D2s3DoBh9Ec1OJySrUIl+Cxh2KSzoIEy DOgBy0FkMmE6N1IRvUR54I8X81N2RaRU1D1z/Ry7dzX3XihM9cSIFbXHMktHpgoC4zBg qDcNJM83RQWK8owz9yVS7sCzFoOKpCJXyWwAfcf8iKhFXZ6Dx7Dyb10ObDj3zgwmFIvg 126babvo7OwhKeAWO/Bj9M3xsT0Wnp+ziCpn5C5pNljDsUKMIdfqIPdMfCyapwnpgkl2 WU/y0n6uqgLl5pkw/g/coF5X/EzQHlzms4XOHgOi0aNTkaM4dj/1e2c2BZRyWbMnfN7q 0K+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767800103; x=1768404903; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BslOQ1R3lDLc6puAK0BHaW8erjjx+/BdZBfKYLZomH0=; b=LNDdm3zJOF1lw6HRa4UeiRWrMCJAXRpsM0KrCehKPxc7S7pNhf2Cb+uuamdhu+xurw ha1iwLZIzoFQ5Y+TcA5eoYCwK+C0vxaTNHxlYJN63KzoEvU+02PcDqbLPC+u6IX2gY9P 4hpvvBmTn7TPjjJF5VgkncHiCOs5JxmL5P4iq48DLYS0UMzfAkf80xeqZNDjkF7K4guw cmJXvST3MgR6d72ieUgbfef/ywfFMjIUs3U40RL+aA0Ec2YVe0WyzPun67NeCFLMvR8Z YmTmoKFXJ+FWaBy8F7ZFe4kZYo9mX2GBule4/pMEBEnu+DhNA8eFWij7JXXLZu4G9mxV FgdA== X-Forwarded-Encrypted: i=1; AJvYcCXQntAVvHFJ6tr9vwRczJc/vLAtczEFGBTvaiyRLx5IyWNmVvl99SChLmKzGTBC3eNDTajkaMsO0cvwdOQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzcO6j4XUeYEQ2G6XH6luiI7zJehTvPms7SKSItwplQiWgeXVfC TuDdwl0BjCOniG1b+rgo5w2S6RK8pEXcA8BuFt3lyxerbnBH3FQXumG3 X-Gm-Gg: AY/fxX6Z3m6+TNP6QqGFDheANOlpQgetf9TCqqxya4ZZoqgUyssKC4vZ1s7sVk4OeJg 5UxShfmxaaxMurH26Esh1efdm/VOusC/BDwhM+hHhYdyKccXNeUZ7Xz5adFRHb9crkvbxYrWIfu nB7BDsEP91CxXWaQNrRvoHJnsnhcRwlT79+h1zCyVu76mNGz2Nh2iH5uoOWtiUuSbnRj6YRgwt5 1kcVGlvaxEkWf8mXYAcfftBfqtKBORITB2Ua7Dcuz2ZOp/laPhNpnEtf9jvA14cGnjQtMXUY713 kTsTOxzw1R7Fb2rX8FHZLSlC5MDvHGFGpKT6nFPrJOpfqvihefLGH+DjVsFrJywTz11xVwkUhzq pS9FVlJNyT0YtLb+c1T0YJlt72lF6N1cssbdHrq9AiiqjZZuX3q9o1L1hMRvI6cuKLNrOYQ7ZMG oIyFMiIcIlfWAZkatS9T15zn2QCUsOFZD2Doxbw4TZM1pX X-Google-Smtp-Source: AGHT+IFJGITn60MlSGetG+LZu+Db9CCtjDGtz1GjRDdVPE59eX1t6Y4D5yt852Xe5lWy1d4GVHK31A== X-Received: by 2002:a05:6808:300f:b0:44d:badf:f449 with SMTP id 5614622812f47-45a6bd18773mr1110582b6e.1.1767800103393; Wed, 07 Jan 2026 07:35:03 -0800 (PST) Received: from localhost.localdomain ([2603:8080:1500:3d89:a917:5124:7300:7cef]) by smtp.gmail.com with ESMTPSA id 5614622812f47-45a5e183cd4sm2415499b6e.1.2026.01.07.07.35.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 07 Jan 2026 07:35:02 -0800 (PST) Sender: John Groves From: John Groves X-Google-Original-From: John Groves To: John Groves , Miklos Szeredi , Dan Williams , Bernd Schubert , Alison Schofield Cc: John Groves , Jonathan Corbet , Vishal Verma , Dave Jiang , Matthew Wilcox , Jan Kara , Alexander Viro , David Hildenbrand , Christian Brauner , "Darrick J . Wong" , Randy Dunlap , Jeff Layton , Amir Goldstein , Jonathan Cameron , Stefan Hajnoczi , Joanne Koong , Josef Bacik , Bagas Sanjaya , Chen Linxuan , James Morse , Fuad Tabba , Sean Christopherson , Shivank Garg , Ackerley Tng , Gregory Price , Aravind Ramesh , Ajay Joshi , venkataravis@micron.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, John Groves Subject: [PATCH 0/2] ndctl: Add daxctl support for the new "famfs" mode of devdax Date: Wed, 7 Jan 2026 09:34:57 -0600 Message-ID: <20260107153459.64821-1-john@groves.net> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260107153244.64703-1-john@groves.net> References: <20260107153244.64703-1-john@groves.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This short series adds support and tests to daxctl for famfs[1]. The famfs kernel patch series, under the same "compound cover" as this series, adds a new 'fsdev_dax' driver for devdax. When that driver is bound (instead of device_dax), the device is in 'famfs' mode rather than 'devdax' mode. References [1] - https://famfs.org John Groves (2): daxctl: Add support for famfs mode Add test/daxctl-famfs.sh to test famfs mode transitions: daxctl/device.c | 126 ++++++++++++++-- daxctl/json.c | 6 +- daxctl/lib/libdaxctl-private.h | 2 + daxctl/lib/libdaxctl.c | 77 ++++++++++ daxctl/lib/libdaxctl.sym | 7 + daxctl/libdaxctl.h | 3 + test/daxctl-famfs.sh | 253 +++++++++++++++++++++++++++++++++ test/meson.build | 2 + 8 files changed, 465 insertions(+), 11 deletions(-) create mode 100755 test/daxctl-famfs.sh base-commit: 4f7a1c63b3305c97013d3c46daa6c0f76feff10d -- 2.49.0