Skip to contentSkip to conversation

Add two VFS exports used by POHMELFS

PATCH Evgeniy Polyakov 2 participants 3 messages Jan 13, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

mm/filemap.c +2 -0
@@ -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()
Signature · 1 line
	Evgeniy Polyakov
#1 lore raw
Quoted 9 lines · Evgeniy Polyakov

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.

Quoted 6 lines

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.

Hm, usually we take exports at the same time the user goes into the tree.

I don't mind adding these exports with the same patch series to add your filesystem to the drivers/staging tree, if Andrew and the other vfs developers agree it's a sane thing to be exporting.

thanks,

greg k-h

#2 lore raw
Quoted 12 lines · Greg KH
Quoted 12 lines

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.

Quoted 8 lines
Quoted 1 line

Hm, usually we take exports at the same time the user goes into the tree.

I don't mind adding these exports with the same patch series to add your filesystem to the drivers/staging tree, if Andrew and the other vfs developers agree it's a sane thing to be exporting.

Ok, I can push them together (just right now :), Andrew, Linus, do you agree to export those functions?

Signature · 1 line
	Evgeniy Polyakov