Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
38e3d93f
Commit
38e3d93f
authored
May 02, 2023
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Improved comment for bch2_replicas_gc2()
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
cb1b479d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
fs/bcachefs/replicas.c
fs/bcachefs/replicas.c
+8
-2
No files found.
fs/bcachefs/replicas.c
View file @
38e3d93f
...
...
@@ -550,8 +550,14 @@ int bch2_replicas_gc_start(struct bch_fs *c, unsigned typemask)
return
0
;
}
/* New much simpler mechanism for clearing out unneeded replicas entries: */
/*
* New much simpler mechanism for clearing out unneeded replicas entries - drop
* replicas entries that have 0 sectors used.
*
* However, we don't track sector counts for journal usage, so this doesn't drop
* any BCH_DATA_journal entries; the old bch2_replicas_gc_(start|end) mechanism
* is retained for that.
*/
int
bch2_replicas_gc2
(
struct
bch_fs
*
c
)
{
struct
bch_replicas_cpu
new
=
{
0
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment