search for: page_cache_sync_readahead

Displaying 4 results from an estimated 4 matches for "page_cache_sync_readahead".

2012 Oct 02
3
[Btrfs-next] bulid failure at fs/btrfs/ctree.h
Hello Josef, FYI build failure occured in fs/btrfs/ctree.h. CC fs/btrfs/super.o In file included from fs/btrfs/delayed-inode.h:30:0, from fs/btrfs/super.c:45: fs/btrfs/ctree.h:3235:1: error: expected identifier or ‘(’ before ‘<<’ token make[3]: *** [fs/btrfs/super.o] Error 1 make[2]: *** [fs/btrfs] Error 2 make[1]: *** [fs] Error 2 make[1]: Leaving directory ` make:
2012 Jan 25
3
[PATCH] Btrfs: Check for NULL page in extent_range_uptodate
A user has encountered a NULL pointer kernel oops in btrfs when encountering media errors. The problem has been identified as an unhandled NULL pointer returned from find_get_page(). This modification simply checks for a NULL page, and returns with an error if found (the extent_range_uptodate() function returns 1 on errors). After testing this patch, the user reported that the error with the
2011 Apr 08
1
This is bug at samba?
...3/0x4d9 [154590.284308] [<c126dd00>] ? _spin_lock_bh+0x8/0x1e [154590.284314] [<c11cebae>] ? release_sock+0xf/0x89 [154590.284319] [<c108d3c5>] ? __do_page_cache_readahead+0x98/0x16b [154590.284323] [<c108d4ac>] ? ra_submit+0x14/0x18 [154590.284327] [<c108d78d>] ? page_cache_sync_readahead+0x3e/0x44 [154590.284332] [<c10887c3>] ? generic_file_aio_read+0x21f/0x57f [154590.284351] [<c10b2e19>] ? do_sync_read+0xc0/0x107 [154590.284359] [<c1043cc6>] ? autoremove_wake_function+0x0/0x2d [154590.284366] [<c10b5fdb>] ? sys_fstat64+0x1e/0x23 [154590.284374] [<c...
2010 Apr 26
0
[PATCH V2 11/12] Btrfs: Pre-allocate space for data relocation
...>> PAGE_CACHE_SHIFT; + last_index = (cluster->end - offset) >> PAGE_CACHE_SHIFT; while (index <= last_index) { + ret = btrfs_delalloc_reserve_metadata(inode, PAGE_CACHE_SIZE); + if (ret) + goto out; + page = find_lock_page(inode->i_mapping, index); if (!page) { page_cache_sync_readahead(inode->i_mapping, @@ -2622,8 +2668,10 @@ static int relocate_file_extent_cluster( last_index + 1 - index); page = grab_cache_page(inode->i_mapping, index); if (!page) { + btrfs_delalloc_release_metadata(inode, + PAGE_CACHE_SIZE); ret = -ENOMEM; - goto out_unl...