Pekka Enberg wrote:In UBIFS pages must never become dirty without asking UBIFS if this is allowed or not. This is needed because of budgeting - before making any page dirty we have to make sure there is enough space to write it back. This is not usually an issue for traditional FSes, because pages may be changed in-place. In UBIFS we cannot change stuff in-place, so we have to be very careful when marking things dirty. This is why we have the budgeting sub-system. The white-paper tells more about this. Anyway, the requirement is that all the places where a page may become dirty should be in UBIFS and the corresponding operations have to be budgeted for. If this function is called, this means that someone made a page dirty without budgeting for this. Which in turn may mean that there will be no space when the page is written back. So basically, this implementation is just a guarding check. Yeah, this is also a guarding thing. When a dirty page is released the budget which was allocated for it has to be freed. If this function is called, then the budget was not freed, which must never happen. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) --
| Hiten Pandya | Re: up? (emacs docbook xml ide) |
| Martin Michlmayr | Network slowdown due to CFS |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Christos Zoulas | Re: Boot device confusion |
| Manuel Bouyer | Re: NFSv3 bug |
| Anders Magnusson | Re: setsockopt() compat issue |
| Martin Husemann | Re: Compressed vnd handling tested successfully |
