lkml.org 
[lkml]   [2003]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcompile problem with 2.5.61-bk
Those two functions are not exported (see e.g. ksyms.c) so are not 
available for modules to access but work when built as part of the kernel.
For the time being this means the CIFS VFS can not be built as a module.
Looks like I will have to figure out an alternate way to get at those two
functions either directly by exporting them or preferably by calling them
indirectly - there may be a way to change fs/cifs/file.c to use the similar
function read_cache_pages directly as nfs does (which presumably is an
exported function) but it wasn't obvious at the time since the cifs vfs
preferably reads the equivalent of 4 pages at a time (rather than one
4K page) across the network and the addition of support of readpages
(with 16K reads in the readahead path) to the cifs vfs demonstrated a
measurable performance benefit) even in the worst case (to loaded
servers or on busy network segments the improvement would be more
dramatic).

I will take a look at this later tonight to see if I can recode
cifs_readpages to bypass the need for the additional exports.


Thomas Molina wrote:
>After syncing with bk this morning I get the following errors during make
>modules

>*** Warning: "add_to_page_cache" [fs/cifs/cifs.ko] undefined!
>*** Warning: "__pagevec_lru_add" [fs/cifs/cifs.ko] undefined!

>which I don't understand since those items are defined in files included
>by fs/cifs/file.c



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.021 / U:4.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site