linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Reserve more space for property inheritance
@ 2019-02-07 16:54 Josef Bacik
  2019-02-07 16:54 ` [PATCH 1/2] btrfs: reserve space for inheriting properties Josef Bacik
  2019-02-07 16:54 ` [PATCH 2/2] btrfs: use the existing credit for our first prop Josef Bacik
  0 siblings, 2 replies; 8+ messages in thread
From: Josef Bacik @ 2019-02-07 16:54 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-26 14:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 16:54 [PATCH 0/2] Reserve more space for property inheritance Josef Bacik
2019-02-07 16:54 ` [PATCH 1/2] btrfs: reserve space for inheriting properties Josef Bacik
2019-02-08  6:30   ` Nikolay Borisov
2019-03-22 19:11     ` David Sterba
2019-02-13 12:37   ` Filipe Manana
2019-02-07 16:54 ` [PATCH 2/2] btrfs: use the existing credit for our first prop Josef Bacik
2019-02-13 12:38   ` Filipe Manana
2019-04-26 14:29   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).