btrfs: Add a lockdep annotation for the reservation space wait event
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | btrfs: Annotate the reservation space wait event with lockdepfs/ fs/ fs/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] btrfs: Add a lockdep annotation for the reservation space wait event
Hello,
with this patch series we add a lockdep annotation for the reservation space wait event in btrfs.
The condition modification and signaling for the waitqueue are protected by the space_info->lock spinlock for the most part.
The function that can potentially be involved in a deadlock and is not protected by the spinlock is flush_space() in fs/btrfs/space-info.c. Thus we place the lockdep annotations in that function.
Important!!! This patch series depends on this patch series
https://lore.kernel.org/linux-btrfs/[email protected]/T/#t
Ioannis Angelakopoulos (1):
btrfs: Annotate the reservation space wait event with lockdep
fs/btrfs/ctree.h | 9 +++++++++ fs/btrfs/disk-io.c | 1 + fs/btrfs/space-info.c | 25 +++++++++++++++++++++++++ 3 files changed, 35 insertions(+)
Signature · 1 line
2.30.2