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 (Артём Битюцкий) --
| Bron Gondwana | BUG: mmapfile/writev spurious zero bytes (x86_64/not i386, bisected, reproducable) |
| Gabriel C | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
| David Miller | [GIT]: Networking |
| Dave Young | Re: 2.6.24-rc3-mm1 |
git: | |
| Matthieu Moy | git push to a non-bare repository |
| Josh Boyer | git-unpack-objects |
| Linus Torvalds | Re: Problem with a push |
| Johannes Schindelin | Re: Git-windows and git-svn? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| James | Re: OBSD on MacBook |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| Daniel Ouellet | Re: Show your appreciation and get your 4.2 DVD |
| David Pottage | Re: My experience with the Freerunner |
| "Marco Trevisan (Treviño)" | Re: Car charger to GTA02 |
| Neng-Yu Tu (Tony Tu) | GTA02 GPS rework for SD card interference issue |
| Christ van Willegen | Public build host (proposal) |
| Linux Bootup hangs after adding RealTime Premption and HR-Timer | 26 minutes ago | Linux kernel |
| SATA 2 size problems | 1 hour ago | Windows |
| problem with 2.6 kernel driver for a USB MAG Stripe Reader as HID device. | 14 hours ago | Linux kernel |
| get_user_pages failure | 15 hours ago | Linux kernel |
| Reading linux kernel | 16 hours ago | Linux kernel |
| High level of Seagate 2.5" SATA drives failing | 22 hours ago | Hardware |
| Resetting the bios password for Toshiba Laptop | 1 day ago | Hardware |
| Linux 2.6.22 slowly RUNS OUT OF LOWMEM | 1 day ago | Linux kernel |
| Questions about modules | 1 day ago | Linux kernel |
| KDB | 2 days ago | Linux kernel |
