Re: [PATCH 04/21] bcachefs: Disk space accounting rewrite

2024-03-01 Thread Brian Foster
On Thu, Feb 29, 2024 at 04:16:00PM -0500, Kent Overstreet wrote: > On Thu, Feb 29, 2024 at 01:44:27PM -0500, Brian Foster wrote: > > On Wed, Feb 28, 2024 at 11:10:12PM -0500, Kent Overstreet wrote: > > > I think it ended up not needing to be moved, and I just forgot to drop > > > it - originally I

Re: [PATCH 04/21] bcachefs: Disk space accounting rewrite

2024-02-29 Thread Kent Overstreet
On Thu, Feb 29, 2024 at 01:44:27PM -0500, Brian Foster wrote: > On Wed, Feb 28, 2024 at 11:10:12PM -0500, Kent Overstreet wrote: > > I think it ended up not needing to be moved, and I just forgot to drop > > it - originally I disallowed accounting entries that referenced > > nonexistent devices, bu

Re: [PATCH 04/21] bcachefs: Disk space accounting rewrite

2024-02-29 Thread Brian Foster
On Wed, Feb 28, 2024 at 11:10:12PM -0500, Kent Overstreet wrote: > On Tue, Feb 27, 2024 at 10:55:02AM -0500, Brian Foster wrote: > > On Sat, Feb 24, 2024 at 09:38:06PM -0500, Kent Overstreet wrote: > > > Main part of the disk accounting rewrite. > > > > > > This is a wholesale rewrite of the exist

Re: [PATCH 04/21] bcachefs: Disk space accounting rewrite

2024-02-28 Thread Kent Overstreet
On Tue, Feb 27, 2024 at 10:55:02AM -0500, Brian Foster wrote: > On Sat, Feb 24, 2024 at 09:38:06PM -0500, Kent Overstreet wrote: > > Main part of the disk accounting rewrite. > > > > This is a wholesale rewrite of the existing disk space accounting, which > > relies on percepu counters that are sh

Re: [PATCH 04/21] bcachefs: Disk space accounting rewrite

2024-02-27 Thread Brian Foster
On Sat, Feb 24, 2024 at 09:38:06PM -0500, Kent Overstreet wrote: > Main part of the disk accounting rewrite. > > This is a wholesale rewrite of the existing disk space accounting, which > relies on percepu counters that are sharded by journal buffer, and > rolled up and added to each journal write

[PATCH 04/21] bcachefs: Disk space accounting rewrite

2024-02-24 Thread Kent Overstreet
Main part of the disk accounting rewrite. This is a wholesale rewrite of the existing disk space accounting, which relies on percepu counters that are sharded by journal buffer, and rolled up and added to each journal write. With the new scheme, every set of counters is a distinct key in the acco