lkml.org 
[lkml]   [2009]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectAdd 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@ioremap.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


\
 
 \ /
  Last update: 2009-01-13 13:47    [W:0.074 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site