Re: synchronous removal?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 2, 2010, at 8:02, Bruce Guenter <bruce@xxxxxxxxxxxxxx> wrote:

> On Sun, Aug 01, 2010 at 02:11:15PM -0700, K. Richard Pixley wrote:
>> I notice that when I remove old snapshots and delete old directories, 
>> the free space on my disk, (according to df), doesn't rise immediately.  
> 
>> Basically, I want to check to see if there's enough space available.  If 
>> not, I want to remove some things, (including at least one snapshot), 
>> wait for the cleaner to digest, and then start over with the checking to 
>> see if there's enough space available and loop until I've removed enough 
>> things that there is enough space available.  How can I do that on a 
>> btrfs file system?
> 
> I asked a similar question a while back, and the short answer is that
> you can't, short of unmounting and remounting the filesystem.  The
> indication was made that writing a new ioctl to wait for all background
> activity wouldn't be too hard, but I don't recall seeing it in any
> recent patches.

That's interesting. Thank you. 

Would anyone like to make a bid on doing this work?  That is, is there anyone with the knowledge and code familiarity available for me to commission this work?

--rich
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux