Hi Rob, Vikrant,
You can apply this patch. It should fix the build errors..
Actually, it turns out that the assert was also buggy in one other
place.. So it was good that this came up.
As regards to mmap-racache: I havent seen any problems with it since
it is primarily triggered only for executables being run off pvfs2
volumes. That does not mean there are no bugs in it, but it would be
great if someone can report any bugs if they stumble across it with
that code path.
thanks,
Murali

On 1/4/07, Robert Latham <[EMAIL PROTECTED]> wrote:
On Thu, Jan 04, 2007 at 09:26:11PM +0530, Vikrant Kumar wrote:
> pvfs-2.6.1 fails while doing "make kmod". Any clues? Here is a small
> snippet of the error.
>
>  CC
> /home/packages/sources/pvfs-2.6.1/src/kernel/linux-2.6/pvfs2.mod.o
>  LD [M]
> /home/packages/sources/pvfs-2.6.1/src/kernel/linux-2.6/pvfs2.ko
>  CC            src/apps/kernel/linux/pvfs2-client-core.o
> src/apps/kernel/linux/pvfs2-client-core.c: In function
> `post_io_readahead_request':
> src/apps/kernel/linux/pvfs2-client-core.c:1417: error:
> `pvfs2_bufmap_desc_count' undeclared (first use in this function)
> src/apps/kernel/linux/pvfs2-client-core.c:1417: error: (Each
> undeclared identifier is reported only once
> src/apps/kernel/linux/pvfs2-client-core.c:1417: error: for each
> function it appears in.)
> make: *** [src/apps/kernel/linux/pvfs2-client-core.o] Error 1
> deva02:/home/packages/sources/pvfs-2.6.1 # ls src/apps/kernel/linux/

Hi Vikrant.

That code (post_io_readahead_request) is protected by an ifdef (#ifdef
USE_MMAP_RA_CACHE).   did you configure pvfs with
--enable-mmap-racache ?

The short-term workaround might be to re-run configure without that
option.

It's definitely a bug on our end that we don't even compile when
mmap-racache is selected, but be warned that even if we fix the
compile issue, there were at one time some bugs with the mmap
readahead cache.

==rob

--
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Attachment: desc-bug.patch
Description: Binary data

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to