From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 04A8833E35B for ; Fri, 31 Jul 2026 19:44:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785527061; cv=none; b=hAt2zm20SPu6Nm0X2IdnCp5NTrkrOmoxZI2b/OWGuhD6RgtAXab53n31+qxqEjcvLF/Z/7BnQO/SMWfC+lysQXeEG5w0s2ixhpFe0j+p8cpMYTUuJw1NbjvG0wPdSXi9dLIt0HJa1Volyd6lRDhpnFHDi0w05aDLi+si3pZX9dg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785527061; c=relaxed/simple; bh=UYrN5HDHzzACjmBR/3TmUCOs2OftktONhPasbNQ2EBU=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=puTww7pyTb/kHO9MCxtQnPdFjJQb+hFxbn6dtTJQ5j1JWPkjwcAwMV4R6MaRECvmq5I5kH+M0c/kHBg1DscZfkPuri74Dw9cVPKUtkIPtknMgpH4FQ2U4oBba59aa07CLf7VPmZQCwPwGpK5zqYKruQCzWp0YqcIAfRknRyJBUg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zabbo.net; spf=pass smtp.mailfrom=zabbo.net; dkim=pass (1024-bit key) header.d=zabbo.net header.i=@zabbo.net header.b=Qyywt3mn; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zabbo.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zabbo.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zabbo.net header.i=@zabbo.net header.b="Qyywt3mn" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2cab973140bso17480885ad.3 for ; Fri, 31 Jul 2026 12:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zabbo.net; s=google; t=1785527059; x=1786131859; darn=lists.linux.dev; h=content-disposition:content-type:mime-version:message-id:subject:to :from:date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=KvP2V8HyorIn8qXO7P/Q6ctCQjl8TbrR2icWX6EkasI=; b=Qyywt3mnvw0lwgz6F9AwlcHO6u8F3YkBX3IHdKLLVa8HM11T5cpJOy7OI+yf+puJYN oKqc+Krou8Wa1t8MftU85Haa4LjnRTf423TSKUfMerNq2RUPgCUUnXSldfIHwSRLti3H 1WgZ0H5CA+vaQqrpF7dJoN3G0Dpi296R7b260= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785527059; x=1786131859; h=content-disposition:content-type:mime-version:message-id:subject:to :from:date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=KvP2V8HyorIn8qXO7P/Q6ctCQjl8TbrR2icWX6EkasI=; b=pSngaUqY76LGy4HFEhqkxDey/pL7t7QkVfBaQN0XgeyQPxuEYaXPQywb9lGyBtZj5M 3WfnDrakFcAev7aEAifUyaD19KJXJ89MuhQQDCgY0FRoG/m23j0mAQDva9tzZOs5Cjjm gAsZSBZbK/tu56evRKNk7nqq+yRRNNhME9B7yXlzXLhpyOZINIgBe5E/Vpc3Ol4yEOmj lRpAUBPFmPE0/rGdUG8gsDBg9oHg7698G4PCjie/ohwVBadVpffl9x7XiKHAjRuij/B1 9KbU9zthzyyXeUJI9YV8aWYlhBXvsVphLz97jkTkHTCNEbU/6g5q3Inx3iKQKXg4GhM7 UBCg== X-Gm-Message-State: AOJu0YwT5YA8cw9ExlkhM0GV8szpBsQLhln8Z1sJVJtQ3l22f/KK28n8 YpQyUAtfCQ30q3ygRwzzmXkRIaVemryg0UrW6DfxWtann+l+IoYZbDwKp9ekyNOuRxTo9SwNn4b YlbrE5q0= X-Gm-Gg: AR+sD13DnH+Lfl/NWipS+zFh0te2SrUt91WsoQwQP+WkWKlJdG8G2kH1HZ+0YjaoT+y a+uiJGJbOQaToLp9AM86FonHfEBMTXHBklWBqu3ksY4npfUG/X+VCkMnreVM6Ug7W9/sldC3eOF 8F9jyuU9Rkt9vzIVlNUy0Xm8LDvWECeDfi5GUCeut9DVsJKIIYFYrbweremElfOaeUlQQ4wCk+k ul8GJlNz4aASy6l8VwtmXSZOVHsSiDCoEtvdjTHaxPCcN/mSsgEMaDhivX9aJj/QzpnfTKO0h6o lbBbDH23x6wNUqiLddD96sAgz0v7ugbpo1HECkR9e91q0oMUpAhIa/6fSa6pICKeHMHzEpPA7OG 07DlUWTUmGO7IA5gcVYxbPbf25u/t9hsQZiOsGIHbznlW6hHFW6tAGFMMkvEwPmHl948UGW7tgN EYjH7p2CTvuWjqz5ZZacHFyG2iHGMDz2Yenx8pgxbWBaz60jU= X-Received: by 2002:a17:903:198c:b0:2ce:e75f:b713 with SMTP id d9443c01a7336-2d052299ec1mr11224265ad.23.1785527059184; Fri, 31 Jul 2026 12:44:19 -0700 (PDT) Received: from localhost ([50.39.133.72]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04ae5aac8sm9824395ad.24.2026.07.31.12.44.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2026 12:44:18 -0700 (PDT) Date: Fri, 31 Jul 2026 12:44:18 -0700 From: Zach Brown To: rpdfs-devel@lists.linux.dev Subject: Pushed next wave of big changes Message-ID: <20260731194418.GA2300919@localhost.localdomain> Precedence: bulk X-Mailing-List: rpdfs-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I just pushed a large series of commits that pivot the rpdfs architecture. There's three core elements that make up the pivot and unlock the rest of the improvements. First is having devd use a log-based storage format in the device. This requires mapping between block names and device location. Second, once we're mapping block names in the devices to begin with, we can use large 192bit names for blocks on the wire instead of 64bit block numbers. This lets clients allocate new block names themselves without having to negotiate access to global allocation structures. Third, we move from per-block cache states to per-inode locks. This has the benefit of communicating cache coherency with far less overhead but at the cost of abdononing the (unneccesary, in the end) finer-grained contention footprint. The kernel client sees the most change from bringing these core features online. Large block names means we can reference blocks by their logical identity rather than allocated mapped position. We no longer have block structurds that map logical to physical -- no btree for metadata and no data mappings. And with no global resource (block numbers) all blocks are per-inode and we can easily use the vfs inode and page caches for our caching. Anyway, it's all in the commits. There's still a lot of work to do to finish up the transition. I wanted to err on the side of making this work visible once the core pieces were there rather than waiting for it to be more complete. Enjoy! More coming, - z