diff options
| author | Yu Kuai <yukuai@fnnas.com> | 2026-02-23 10:40:35 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2026-03-16 01:24:59 +0800 |
| commit | ef4ca3d4bf09716cff9ba00eb0351deadc8417ab (patch) | |
| tree | 746dae05aafc4f2eec353bf7964c532c5387dbc3 /rust/kernel/gpu/git@git.tavy.me:linux-stable.git | |
| parent | 7701e68b5072faa03a8f30b4081dc16df9092381 (diff) | |
md/md-llbitmap: raise barrier before state machine transition
Move the barrier raise operation before calling llbitmap_state_machine()
in both llbitmap_start_write() and llbitmap_start_discard(). This
ensures the barrier is in place before any state transitions occur,
preventing potential race conditions where the state machine could
complete before the barrier is properly raised.
Cc: stable@vger.kernel.org
Fixes: 5ab829f1971d ("md/md-llbitmap: introduce new lockless bitmap")
Link: https://lore.kernel.org/linux-raid/20260223024038.3084853-3-yukuai@fnnas.com
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'rust/kernel/gpu/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
