linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Removing file = quota exceded
@ 2014-06-22  1:16 Kevin Brandstatter
  2014-06-22 16:38 ` Josef Bacik
  0 siblings, 1 reply; 8+ messages in thread
From: Kevin Brandstatter @ 2014-06-22  1:16 UTC (permalink / raw)
  To: linux-btrfs

so ive come accross the issue of being unable to remove a file when a
subvolume quota is reached. This can be resolved by truncating the file
first, or removing the quota temporarily.
However, it should be reasonable that you should alwasy be able to
remove a file, regardless of quota limitations yes?
Upon delving into the code, I found the comment that an unlink may not
always free space. This seems reasonable on a COW filesystem, however,
it should not preclude a removal IMO (please correct me if i missed
something)
Personally I'm looking to try and fix this issue to allow a removal of a
file even when the subvol quota has been reached. I'm hoping one of the
current developers may be able to assist me in where to focus my
efforts, as I am still unable to follow exactly where a remove operation
would check the quota limitations.
Any help is appreciated.

-Kevin Brandstatter

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

end of thread, other threads:[~2014-06-24 12:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-22  1:16 Removing file = quota exceded Kevin Brandstatter
2014-06-22 16:38 ` Josef Bacik
2014-06-22 17:56   ` Kevin Brandstatter
2014-06-23  1:53     ` Duncan
2014-06-23 23:36       ` [PATCH] handle start_unlink_transaction the same for an exceded quota , limit as an out of space error Kevin Brandstatter
2014-06-24  5:31       ` Removing file = quota exceded Duncan
2014-06-24 12:15         ` Kevin Brandstatter
2014-06-23 23:43   ` Kevin Brandstatter

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).