search for: truncate_inode_pages_rang

Displaying 6 results from an estimated 6 matches for "truncate_inode_pages_rang".

2011 Aug 09
2
[PATCH] Btrfs: truncate pages from clone ioctl target range
...rfs/ioctl.c index a3c4751..cac9491 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -2243,6 +2243,10 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, btrfs_wait_ordered_range(src, off, len); } + /* truncate page cache pages from target inode range */ + truncate_inode_pages_range(&inode->i_data, off, + ((off+len+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK)-1); + /* clone data */ key.objectid = btrfs_ino(src); key.type = BTRFS_EXTENT_DATA_KEY; -- 1.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a mess...
2010 Jan 28
0
Crash during yum update
...00000 ffff88001d78e3d0 00000c000194d8d0 ffff88001d78e2b0 ffff88000194d908 000000000000056e 0000000000000004 000000000000056e Call Trace: [<ffffffff88032257>] :jbd:journal_invalidatepage+0xdc/0x358 [<ffffffff8021d3dd>] truncate_complete_page+0x1b/0x5c [<ffffffff8022b98f>] truncate_inode_pages_range+0x9b/0x290 [<ffffffff802c555b>] vmtruncate+0x4e/0xc9 [<ffffffff8024335e>] inode_setattr+0x22/0x104 [<ffffffff88050b2f>] :ext3:ext3_setattr+0x1bd/0x228 [<ffffffff8022ceab>] notify_change+0x145/0x2f3 [<ffffffff802d17af>] do_truncate+0x5e/0x79 [<ffffffff80212f1a...
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.
2009 Feb 06
2
Xen pv_ops domU :: BUG() in remove_from_page_cache()
...0c2b Call Trace: [<ffffffff810a8c67>] remove_from_page_cache+0x2b/0x38 [<ffffffff810b0b27>] truncate_complete_page+0x4c/0x61 [<ffffffff810b0c2b>] truncate_inode_pages_range+0xef/0x36e [<ffffffff810b0eb7>] truncate_inode_pages+0xd/0x12 [<ffffffff810f0937>] dispose_list+0x3b/0xf8 [<ffffffff810f0ce1>] invalidate_inodes+0xdc/0xfa [&lt...
2011 Feb 16
2
RE: [PATCH V2 0/3] drivers/staging: zcache: dynamic page cache/swap compression
...unction+0x0/0x20 > >>>> Feb 14 00:39:20 lupus kernel: [ 2951.854140]  [<ffffffff810e6cee>] > ? > >>>> __cleancache_flush_inode+0x3e/0x70 > >>>> Feb 14 00:39:20 lupus kernel: [ 2951.854161]  [<ffffffff810b34d2>] > ? > >>>> truncate_inode_pages_range+0x42/0x440 > >>>> Feb 14 00:39:20 lupus kernel: [ 2951.854182]  [<ffffffff812f115e>] > ? > >>>> btrfs_search_slot+0x89e/0xa00 > >>>> Feb 14 00:39:20 lupus kernel: [ 2951.854201]  [<ffffffff810c3a45>] > ? > >>>> unmap_map...
2011 Jun 24
10
[PATCH 0/9] remove i_alloc_sem V2
i_alloc_sem has always been a bit of an odd "lock". It''s the only remaining rw_semaphore that can be released by a different thread than the one that locked it, and it''s use case in the core direct I/O code is more like a counter given that the writers already have external serialization. This series removes it in favour of a simpler counter scheme, thus getting rid