On Thu, 06 Sep 2012, Jan Stancek wrote: > do_readahead() requires a_ops->readpage to be != NULL: > 568 static ssize_t > 569 do_readahead(struct address_space *mapping, struct file *filp, > 570 pgoff_t index, unsigned long nr) > 571 { > 572 if (!mapping || !mapping->a_ops || !mapping->a_ops->readpage) > 573 return -EINVAL; > 574 > 575 force_page_cache_readahead(mapping, filp, index, nr); > 576 return 0; > 577 } > > but following commit removed readpage from hugetlbfs: > commit f2deae9d4e70793568ef9e85d227abb7bef5b622 > Author: Mel Gorman <m...@csn.ul.ie> > Date: Wed May 13 15:56:10 2009 +0100 > Remove implementation of readpage from the hugetlbfs_aops > > So this is going to always return EINVAL on patched kernels. > Ignore return value, regardless of readahead() outcome testcase > will still check if reservation counter gets corrupted. > > Signed-off-by: Jan Stancek <jstan...@redhat.com>
Applied, thanks. Eric
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel