On Thu, Jan 10 2008, Nick Piggin wrote:If it was O_DIRECT and aio, then we would be close. Because I'm really lazy - the core of this was basically first written as a quick hack and then I always go shopping for reusable data structures. prio trees fit the bill nicely, they described extents and allowed loopup with a key anywhere in that extent. You are right in that I don't need the overlap handling at all, and Chris already tried to talk me into reusing his btrfs extent code :-) So I may just do the latter, turning it into a lib/extent-map.c in the longer run. My first priority was just having something that worked so I could test it. At the end of the day, not a single soul would ever notice if the prio tree ended up being slightly slower than a custom solution. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Ingo Molnar | [git pull] x86 arch updates for v2.6.25 |
| Anton Salikhmetov | [PATCH -v8 2/4] Update ctime and mtime for memory-mapped files |
git: | |
| Patrick McHardy | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 16/37] dccp: API to query the current TX/RX CCID |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
