[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090113124346.GA26101@ioremap.net>
Date: Tue, 13 Jan 2009 15:43:46 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Greg KH <greg@...ah.com>
Subject: Add two VFS exports used by POHMELFS
Hi.
POHMELFS is a very high-performance parallel network filesystem with
coherent local cache of data and metadata. It entered maintenance mode
and is being prepared for the next submission cycle.
I decided first to push it into the drivers/staging which was acked
by Greg for the wider testing and review and move into the vanilla tree
in the next merge window.
POHMELFS needs two exports from the core VFS: add_to_page_cache_lru and
__lock_page_killable.
Please apply given patch to the current tree.
Signed-off-by: Evgeniy Polyakov <zbr@...emap.net>
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -513,6 +513,7 @@ int add_to_page_cache_lru(struct page *page, struct address_space *mapping,
}
return ret;
}
+EXPORT_SYMBOL_GPL(add_to_page_cache_lru);
#ifdef CONFIG_NUMA
struct page *__page_cache_alloc(gfp_t gfp)
@@ -627,6 +628,7 @@ int __lock_page_killable(struct page *page)
return __wait_on_bit_lock(page_waitqueue(page), &wait,
sync_page_killable, TASK_KILLABLE);
}
+EXPORT_SYMBOL_GPL(__lock_page_killable);
/**
* __lock_page_nosync - get a lock on the page, without calling sync_page()
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists