Re: [PATCH v2 1/5] nilfs-utils: cldconfig add an option to set minimal free blocks

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

 



Hi Dexen,

On 2014-01-21 15:10, dexen deVries wrote:
> Will your patches be smart enough to re-claim space if the only available free 
> blocks are under threshold?
> 
> 
> Scenario: FS is running out of free space, and the free blocks to be reclaimed 
> are scattered through segments in small numbers. Several segments have a small 
> number of free blocks, but in each segment the amount is under the threshold. 

No my patches won't do that, but there are two new config options.
Namely min_free_blocks_threshold and mc_min_free_blocks_threshold,
whereby the latter is used if the number of clean segments is below
min_clean_segments, similar to the other mc options.

To accommodate your scenario you could simple set a very low value or
even 0 to mc_min_free_blocks_threshold. So if the number of clean
segments drops below min_clean_segments my patches would be disabled.

Regards,
Andreas Rohner
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" 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 BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux