search for: readpage

Displaying 20 results from an estimated 32 matches for "readpage".

2009 Mar 05
1
[PATCH] OCFS2: Pagecache usage optimization on OCFS2
...29-rc7/fs/ocfs2/aops.c --- linux-2.6.29-rc7.org/fs/ocfs2/aops.c 2009-03-05 13:46:07.000000000 +0900 +++ linux-2.6.29-rc7/fs/ocfs2/aops.c 2009-03-05 13:50:59.000000000 +0900 @@ -1953,15 +1953,16 @@ static int ocfs2_write_end(struct file * } const struct address_space_operations ocfs2_aops = { - .readpage = ocfs2_readpage, - .readpages = ocfs2_readpages, - .writepage = ocfs2_writepage, - .write_begin = ocfs2_write_begin, - .write_end = ocfs2_write_end, - .bmap = ocfs2_bmap, - .sync_page = block_sync_page, - .direct_IO = ocfs2_direct_IO, - .invalidatepage = ocfs2_invalidatepage, - .releasepage = ocf...
2007 Apr 18
0
[patch 7/9] Guest page hinting: minor fault optimization.
...to-date? */ if (PageUptodate(page)) { unlock_page(page); + /* + * Because we held an additional reference + * to the page while we read it in the page + * could not be made volatile. Do it now. + */ + page_make_volatile(page, 2); goto success; } error = mapping->a_ops->readpage(file, page); if (!error) { wait_on_page_locked(page); - if (PageUptodate(page)) + if (PageUptodate(page)) { + /* + * Because we held an additional reference + * to the page while we read it in the page + * could not be made volatile. Do it now. + */ + page_make_volatile(page,...
2007 Apr 18
0
[patch 7/9] Guest page hinting: minor fault optimization.
...to-date? */ if (PageUptodate(page)) { unlock_page(page); + /* + * Because we held an additional reference + * to the page while we read it in the page + * could not be made volatile. Do it now. + */ + page_make_volatile(page, 2); goto success; } error = mapping->a_ops->readpage(file, page); if (!error) { wait_on_page_locked(page); - if (PageUptodate(page)) + if (PageUptodate(page)) { + /* + * Because we held an additional reference + * to the page while we read it in the page + * could not be made volatile. Do it now. + */ + page_make_volatile(page,...
2002 Sep 22
2
Assertion failure in ext3_get_block() at inode.c:853: "handle != 0"
Hi, Got the following on Linux 2.5.37 trying to run apt-get update. MikaL Sep 21 23:10:05 devil kernel: Assertion failure in ext3_get_block() at inode.c:853: "handle != 0" Sep 21 23:10:05 devil kernel: kernel BUG at inode.c:853! Sep 21 23:10:05 devil kernel: invalid operand: 0000 Sep 21 23:10:05 devil kernel: CPU: 1 Sep 21 23:10:05 devil kernel: EIP:
2007 May 22
1
Re: Ocfs2-users Digest, Vol 41, Issue 21
...be cluster coherent. > - quotas > - cluster aware flock <---------------------------------------- > - Directory change notification (F_NOTIFY) > - Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease) > - POSIX ACLs > - readpages / writepages (not user visible) If this is an ill-informed question, please enlighten me. I'm following this list for quite some time and have done some tests (quite some time ago) and noticed then that if you write from two machines to the same file at the same moment, the one that is finish...
2012 Jul 12
3
[PATCH v2] Btrfs: improve multi-thread buffer read
.../btrfs/extent_io.c b/fs/btrfs/extent_io.c index 01c21b6..5c8ab6c 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -3549,6 +3549,11 @@ int extent_writepages(struct extent_io_tree *tree, return ret; } +struct pagelst { + struct page *page; + struct list_head lst; +}; + int extent_readpages(struct extent_io_tree *tree, struct address_space *mapping, struct list_head *pages, unsigned nr_pages, @@ -3557,19 +3562,51 @@ int extent_readpages(struct extent_io_tree *tree, struct bio *bio = NULL; unsigned page_idx; unsigned long bio_flags = 0; + LIST_HEAD(page_pool); +...
2010 Jun 21
0
[PATCH V3 6/8] Cleancache: btrfs hooks for cleancache
[PATCH V3 6/8] Cleancache: btrfs hooks for cleancache Filesystems must explicitly enable cleancache by calling cleancache_init_fs anytime a instance of the filesystem is mounted and must save the returned poolid. Btrfs uses its own readpage which must be hooked, but all other cleancache hooks are in the VFS layer including the matching cleancache_flush_fs hook which must be called on unmount. Signed-off-by: Dan Magenheimer <dan.magenheimer at oracle.com> Signed-off-by: Chris Mason <chris.mason at oracle.com> Diffstat: e...
2011 Jan 04
16
[PATCH v2 0/5] add new ioctls to do metadata readahead in btrfs
Hi, We have file readahead to do asyn file read, but has no metadata readahead. For a list of files, their metadata is stored in fragmented disk space and metadata read is a sync operation, which impacts the efficiency of readahead much. The patches try to add meatadata readahead for btrfs. In btrfs, metadata is stored in btree_inode. Ideally, if we could hook the inode to a fd so we could use
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...ate(page); + ClearPageDirty(page); + /* + * If the page isn't being flushed from the page allocator, go ahead and + * drop it from the page cache anyway. + */ + if (!wbc->for_reclaim) + delete_from_page_cache(page); + unlock_page(page); + return 0; +} + +/* Nearly no-op implementation of readpage */ +static int balloonfs_readpage(struct file *file, struct page *page) +{ + SetPageUptodate(page); + unlock_page(page); + return 0; +} + +static const struct address_space_operations balloonfs_aops = { + .writepage = balloonfs_writepage, + .readpage = balloonfs_readpage +}; + +static struct backin...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...ate(page); + ClearPageDirty(page); + /* + * If the page isn't being flushed from the page allocator, go ahead and + * drop it from the page cache anyway. + */ + if (!wbc->for_reclaim) + delete_from_page_cache(page); + unlock_page(page); + return 0; +} + +/* Nearly no-op implementation of readpage */ +static int balloonfs_readpage(struct file *file, struct page *page) +{ + SetPageUptodate(page); + unlock_page(page); + return 0; +} + +static const struct address_space_operations balloonfs_aops = { + .writepage = balloonfs_writepage, + .readpage = balloonfs_readpage +}; + +static struct backin...
2006 Feb 21
0
[PATCH 14/14] ocfs2: include disk heartbeat in ocfs2_nodemanager to avoid userspace changes
...ng1/fs/Kconfig linux-2.6.16-rc4.ocfs2-staging2/fs/Kconfig --- linux-2.6.16-rc4.ocfs2-staging1/fs/Kconfig 2006-02-21 11:44:53.000000000 -0500 +++ linux-2.6.16-rc4.ocfs2-staging2/fs/Kconfig 2006-02-21 11:44:53.000000000 -0500 @@ -356,18 +356,6 @@ config OCFS2_FS - POSIX ACLs - readpages / writepages (not user visible) -config OCFS2_FS_O2CB - tristate "O2CB Kernelspace Clustering" - depends on OCFS2_FS - default y - help - OCFS2 includes a simple kernelspace clustering package that requires - a very small userspace complement to configure it. However, it is - not...
2005 Oct 14
2
ocfs2's bmap output
I'm writing a stackable file system and one of it's features is that it can combine many sparse files into a single view. On ext2/3 I was using bmap to give me the information needed, so for instance, if I created a big sparse file and tacked on some information at the end on ext2/3 I'd get something like blade12:~# ~/a.out abc File: abc Size: 30002 Blocks: 8 Blocksize: 4096 0
2012 Jul 25
0
No subject
...e page cache anyway. > >> + */ > >> + if (!wbc->for_reclaim) > >> + delete_from_page_cache(page); > >> + unlock_page(page); > >> + return 0; > >> +} > >> + > >> +/* Nearly no-op implementation of readpage */ > >> +static int balloonfs_readpage(struct file *file, struct page *page) > >> +{ > >> + SetPageUptodate(page); > >> + unlock_page(page); > >> + return 0; > >> +} > >> + > >> +static const struct address_space_op...
2012 Jul 25
0
No subject
...e page cache anyway. > >> + */ > >> + if (!wbc->for_reclaim) > >> + delete_from_page_cache(page); > >> + unlock_page(page); > >> + return 0; > >> +} > >> + > >> +/* Nearly no-op implementation of readpage */ > >> +static int balloonfs_readpage(struct file *file, struct page *page) > >> +{ > >> + SetPageUptodate(page); > >> + unlock_page(page); > >> + return 0; > >> +} > >> + > >> +static const struct address_space_op...
2009 Sep 14
0
Oggz 1.0.0 Release
...lepos 1|0 * Fix data alignment on ARM (Erik de Castro Lopo, Chris Double, Vladimir Vukicevic) * Fix for inefficient oggz_seek_units() (Sean Young) * oggz_read: always set the internal offset to the start of the current page. This is returned by oggz_tell() and can be queried within a ReadPage callback. * oggz_read: Fix packetno check for holes in headers. The packetno has not yet been incremented, so the value to check is off-by-one. * Annodex #1581: avoid _oggz_comment_add_byname() strcmp of NULL (keelerda) * Mozilla #499604, Annodex #486: avoid uninitialized variable in o...
2008 Jan 25
0
[git patches] ocfs2 and configfs updates
...fs2_dlm: Call node eviction callbacks from heartbeat handler ocfs2: Remove fs dependency on ocfs2_heartbeat module ocfs2: Remove mount/unmount votes ocfs2: Add data downconvert worker to inode lock ocfs2: Remove data locks ocfs2: Rename ocfs2_meta_[un]lock ocfs2: Readpages support ocfs2: Documentation update ocfs2: Add missing permission checks ocfs2: Support commit= mount option ocfs2: add flock lock type ocfs2: cluster aware flock() ocfs2: bump version number ocfs2: document access rules for blocked_lock_list ocfs2:...
2011 Dec 10
0
ANNOUNCE: cifs-utils release 5.2 available for download
.... Signed-off-by: Shirish Pargaonkar <shirishpargaonkar at gmail.com> commit b6eb2f2f9f5ce0c64c57e2f59ef2ce80932decca Author: Jeff Layton <jlayton at samba.org> Date: Wed Oct 19 14:25:31 2011 -0400 manpage: document new rsize= behavior With the addition of async readpages in 3.2 kernels, the behavior of the rsize= option has changed. Signed-off-by: Jeff Layton <jlayton at samba.org> commit fa488d9fd2a0d722cfcccea6c84599366b58b0de Author: Jeff Layton <jlayton at samba.org> Date: Sat Nov 12 09:58:02 2011 -0500 cifs.upcall: silence unu...
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
...eleasing the path - iterate_irefs now returns -ENOENT in case no refs are found - some stupid bugs removed where release_path was called too early - ioctls added to provide new functions to user mode - bugfixes for cases where search_slot found the very end of a leaf - bugfix: use right fs root for readpage instead of fs_root->fs_info - based on current cmason/for-linus Changelog v3->v4: - fixed a regression with mirror_num that could prevent error correction - based on current cmason/for-linus Please try it and report errors (or confirm there are none, of course). I can provide a place to pul...
2013 Aug 06
6
[PATCH 0/4] btrfs: out-of-band (aka offline) dedupe v4
Hi, The following series of patches implements in btrfs an ioctl to do out-of-band deduplication of file extents. To be clear, this means that the file system is mounted and running, but the dedupe is not done during file writes, but after the fact when some userspace software initiates a dedupe. The primary patch is loosely based off of one sent by Josef Bacik back in January, 2011.
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.