diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-26 21:46:41 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:26 -0400 |
| commit | 82732ef510b8455bbf9e9292b6fd04cb724bdadf (patch) | |
| tree | 9cbbade3d4d095cd0ac0573bbfae47cc29dc0b78 /tools/perf/scripts/python/netdev-times.py | |
| parent | 39dcace83889f43d5619d07c2ec76c286c88a85b (diff) | |
| download | linux-82732ef510b8455bbf9e9292b6fd04cb724bdadf.tar.gz linux-82732ef510b8455bbf9e9292b6fd04cb724bdadf.zip | |
bcachefs: Improve btree_node_write_if_need()
btree_node_write_if_need() kicks off a btree node write only if
need_write is set; this makes the locking easier to reason about by
moving the check into the cmpxchg loop in __bch2_btree_node_write().
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
