Re: [PATCH v3 09/11] Btrfs: fix ENOSPC caused by orphan items reservations

2018-05-11 Thread Nikolay Borisov
On 11.05.2018 10:56, Omar Sandoval wrote: > From: Omar Sandoval > > Currently, we keep space reserved for all inode orphan items until the > inode is evicted (i.e., all references to it are dropped). We hit an > issue where an application would keep a bunch of deleted files

[PATCH v3 09/11] Btrfs: fix ENOSPC caused by orphan items reservations

2018-05-11 Thread Omar Sandoval
From: Omar Sandoval Currently, we keep space reserved for all inode orphan items until the inode is evicted (i.e., all references to it are dropped). We hit an issue where an application would keep a bunch of deleted files open (by design) and thus keep a large amount of space