Re: Using vmalloc instead of get_free_pages?
From: Stephen R. van den Berg <hidden>
Date: 2014-12-29 09:06:29
Slava Pestov wrote:
On Sat, Dec 27, 2014 at 2:52 AM, Stephen R. van den Berg [off-list ref] wrote:quoted
- That the amount of memory being allocated for a single caching device exceeds maximum the amount allocatable by get_free_pages(), so I changed
As you've already noticed this is fixed in bcache-dev, but that brings in a
I already hoped it would have been, but since the ondisk format changed, I couldn't fully confirm this yet. I don't mind changing the on-disk format, BTW, because I am still able to reformat the disks before the servers go into production.
Support for multiple cache devices is in bcache-dev, it requires changes to both make-bcache and the kernel. I'm not sure what the time frame for upstreaming this is, since the changes are more involved.
Well, I don't mind running a custom kernel and custom bcache userspace tools for a while. I have been rolling my own kernels since 1992. I presume that eventually all changes will be upstreamed (including the changes in the on-disk format)? So, until then, I'll simply rebase bcache-dev on top of the most recent kernels manually. I *would* be interested in the new bcache userspace tools though then. -- Stephen.