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

Re: Returning true available space on jffs f/s

vmalik@xxxxxxx.com said:
> How difficult would it be to include the flash blocks marked as
> "deleted" but not yet garbage collected when returning the amount of
> free space on the jffs f/s in statfs()?

We make stuff up in jffs_statfs(). jffs2_statfs() is worse. Feel free to 
provide patches. You're right - it would make sense to set buf->f_bfree 
based on free_size + dirty_size, not just free_size. 


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com