Skip to content

Add comments describing how space reservation works

Josef Bacik linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Fixed spelling mistakes, discovered you can use ':set spell' for files other than git commit messages.
- Reworked some of the explanations to be more visual to describe the general flow.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: add a comment describing block-rsvsfs/btrfs/block-rsv.c+91 -01 reply
2/3btrfs: add a comment describing delalloc space reservationfs/btrfs/delalloc-space.c+101 -00 replies
3/3btrfs: describe the space reservation system in generalfs/btrfs/space-info.c+146 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/3][v2] Add comments describing how space reservation works

v1->v2:
- Fixed spelling mistakes, discovered you can use ':set spell' for files other than git commit messages.
- Reworked some of the explanations to be more visual to describe the general flow.

--------------- Original email ------------------
In talking with Nikolay about the data reservation patches it became clear that there's way more about the space reservation system that exists soley in my head than I thought. I've written three big comments on the different sections of the space reservation system to hopefully help people understand how the system works generally. Again this is from my point of view, and since I'm the one who wrote it I'm not sure where the gaps in peoples understanding is, so if there's something that is not clear here now is the time to bring it up. Hopefully this will make reviewing patches I submit to this system less scary for reviewers. Thanks,

Josef