Hi all, I ran the test suite in libhugetlbfs
package, but found the ``readahead_reserve''
test always failed by giving the following msg:

readahead_reserve.sh (2M: 64):  Starting testcase "readahead_reserve", pid 1766 
Reserve count before map: 0 Reserve count after map: 1 FAIL readahead(): 
Invalid argument

seems that the failure is caused following codes:

        /* readahead the region and record reservations */
        if (readahead(fd, 0, hpage_size) == -1)
                FAIL("readahead(): %s", strerror(errno));

according to man page, fd does not refer to a 
file type to which readahead() can be applied.

Anyone met the same issue or if there are anybody
have idea of how to fix it?

Thanks,
Caspar
-- 
/---------------------------------------\
| Name: Caspar Zhang                    |
| Team: Kernel-QE                       |
| Timezone: GMT+0800 (Asia/Shanghai)    |
| IRC: caspar @ #kernel-qe, #eng-china  |
| Phone: +86-10-6260-8150               |
| Cellphone: +86-1381-073-0090          |
\---------------------------------------/

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to