Skip to content

Reserve more space for property inheritance

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: reserve space for inheriting propertiesfs/btrfs/inode.c fs/btrfs/ioctl.c+46 -593 replies
2/2btrfs: use the existing credit for our first propfs/btrfs/props.c+24 -82 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFilipe Manana
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Reserve more space for property inheritance

We've been seeing messages on our build servers where we fail to reserve space for the compression property and thus fail to create the property at inode creation time. This is because we do not pre-reserve the space, instead opting to use NO_FLUSH which can fail transiently, and create these messages. Instead just pre-reserve an extra items worth of space, and use that space when we inherit our property. We only have the compression property right now, so we can get away with this, and if we add any more properties we have the backup method of doing the NO_FLUSH reservation. However in the future we may want to take a more nuanced approach to property space reservation if we add a bunch of new properties. Thanks,

Josef