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
201a4d4c
Commit
201a4d4c
authored
Apr 17, 2019
by
Kent Overstreet
Committed by
Kent Overstreet
Oct 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: fix triggers for stripes btree
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
ea416023
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
fs/bcachefs/buckets.c
fs/bcachefs/buckets.c
+9
-0
No files found.
fs/bcachefs/buckets.c
View file @
201a4d4c
...
@@ -1107,6 +1107,15 @@ void bch2_mark_update(struct btree_trans *trans,
...
@@ -1107,6 +1107,15 @@ void bch2_mark_update(struct btree_trans *trans,
if
(
unlikely
(
trans
->
flags
&
BTREE_INSERT_NOMARK_OVERWRITES
))
if
(
unlikely
(
trans
->
flags
&
BTREE_INSERT_NOMARK_OVERWRITES
))
return
;
return
;
/*
* For non extents, we only mark the new key, not the key being
* overwritten - unless we're actually deleting:
*/
if
((
iter
->
btree_id
==
BTREE_ID_ALLOC
||
iter
->
btree_id
==
BTREE_ID_EC
)
&&
!
bkey_deleted
(
&
insert
->
k
->
k
))
return
;
while
((
_k
=
bch2_btree_node_iter_peek_filter
(
&
node_iter
,
b
,
while
((
_k
=
bch2_btree_node_iter_peek_filter
(
&
node_iter
,
b
,
KEY_TYPE_discard
)))
{
KEY_TYPE_discard
)))
{
struct
bkey
unpacked
;
struct
bkey
unpacked
;
...
...
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