search for: i_data

Displaying 20 results from an estimated 26 matches for "i_data".

2002 Mar 28
2
Patches for rsync.mbox
...uire authentication. If so then you will receive a password prompt when you con- *************** *** 85508,85514 **** If the symlink is longer, data blocks are allocated as on classic Unix. ! From linux-2.4.16/fs/ext2/namei.c:ext2_symlink: if (l > sizeof (inode->u.ext2_i.i_data)) { /* slow symlink */ --- 85508,85514 ---- If the symlink is longer, data blocks are allocated as on classic Unix. ! > From linux-2.4.16/fs/ext2/namei.c:ext2_symlink: if (l > sizeof (inode->u.ext2_i.i_data)) { /* slow symlink */ *************** *** 85829,85835 ****...
2011 Aug 09
2
[PATCH] Btrfs: truncate pages from clone ioctl target range
...--- 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 message to majordomo@vger.k...
2013 Nov 19
6
[PATCH] Btrfs: fix very slow inode eviction and fs unmount
...ict_inode_truncate_pages(struct inode *inode) +{ + struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; + struct extent_map_tree *map_tree = &BTRFS_I(inode)->extent_tree; + struct rb_node *node; + + ASSERT(inode->i_state & I_FREEING); + truncate_inode_pages(&inode->i_data, 0); + + write_lock(&map_tree->lock); + while (!RB_EMPTY_ROOT(&map_tree->map)) { + struct extent_map *em; + + node = rb_first(&map_tree->map); + em = rb_entry(node, struct extent_map, rb_node); + remove_extent_mapping(map_tree, em); + free_extent_map(em); + } + write_unloc...
2009 Mar 05
3
[PATCH 0/2] ocfs2: two bug fixes about xattr and inline-data V2
Hi, Thanks Tao and Joel's review, These are the second version of the patches. Mark and Joel, you can correct my comments if you find they don't suitable. thanks, tiger
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...ut; } } wc->w_handle = handle; out: + mlog_exit(ret); return ret; } @@ -1542,8 +1659,14 @@ int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size) { struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; - if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) + mlog_entry("(%llu, %llu)\n", + di_bh->b_blocknr, (unsigned long long)new_size); + + if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) { + mlog_exit(1); return 1; + } + mlog_exit(0); return 0; } @@ -1552,14 +1675,14 @@ static int ocfs2_try_to_write_in...
2004 Sep 15
1
RC2 zaptel compile problem
...9; isn't known include/linux/fs.h:433: error: storage size of `i_ctime' isn't known include/linux/fs.h:440: error: storage size of `i_sem' isn't known include/linux/fs.h:441: error: storage size of `i_alloc_sem' isn't known include/linux/fs.h:447: error: storage size of `i_data' isn't known include/linux/fs.h:574: error: storage size of `f_owner' isn't known include/linux/fs.h:745: error: storage size of `s_umount' isn't known include/linux/fs.h:746: error: storage size of `s_lock' isn't known include/linux/fs.h:773: error: storage size of...
2010 Aug 20
0
[PATCH] ocfs2: Don't delete orphaned files if we are in the process of umount.
...RPHAN_DIR)) + mlog(0, "skip delete inode %llu because " + "umount has begun.\n", + (unsigned long long)OCFS2_I(inode)->ip_blkno); + else + delete = 1; + } + + if (delete) ocfs2_delete_inode(inode); - } else { + else truncate_inode_pages(&inode->i_data, 0); - } + ocfs2_clear_inode(inode); } diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h index 70354a5..0544b0c 100644 --- a/fs/ocfs2/ocfs2.h +++ b/fs/ocfs2/ocfs2.h @@ -261,7 +261,7 @@ enum ocfs2_mount_options #define OCFS2_OSB_SOFT_RO 0x0001 #define OCFS2_OSB_HARD_RO 0x0002 #define OCFS...
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 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...ut; } } wc->w_handle = handle; out: + mlog_exit(ret); return ret; } @@ -1542,8 +1651,14 @@ int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size) { struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; - if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) + mlog_entry("(%llu, %llu)\n", + di_bh->b_blocknr, (unsigned long long)new_size); + + if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) { + mlog_exit(1); return 1; + } + mlog_exit(0); return 0; } @@ -1552,14 +1667,14 @@ static int ocfs2_try_to_write_in...
2009 Jul 21
1
(no subject)
...ut; } } wc->w_handle = handle; out: + mlog_exit(ret); return ret; } @@ -1542,8 +1659,14 @@ int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size) { struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; - if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) + mlog_entry("(%llu, %llu)\n", + di_bh->b_blocknr, (unsigned long long)new_size); + + if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) { + mlog_exit(1); return 1; + } + mlog_exit(0); return 0; } @@ -1552,14 +1675,14 @@ static int ocfs2_try_to_write_in...
2013 Oct 09
2
[PATCH] Btrfs: add tests for find_lock_delalloc_range
...6 * 1024 * 1024; + u64 max_bytes = 128 * 1024 * 1024; + u64 start, end, test_start; + u64 found; + int ret = -EINVAL; + + inode = btrfs_new_test_inode(); + if (!inode) { + test_msg("Failed to allocate test inode\n"); + return -ENOMEM; + } + + extent_io_tree_init(&tmp, &inode->i_data); + + /* + * First go through and create and mark all of our pages dirty, we pin + * everything to make sure our pages don''t get evicted and screw up our + * test. + */ + for (index = 0; index < (total_dirty >> PAGE_CACHE_SHIFT); index++) { + page = find_or_create_page(inode-...
2007 Jun 03
1
FW: Centos kernel source
I already did what you said,please see the log results in zaptel.rar attached when I compile zapltel using make ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this
2009 May 03
6
[RFC] The reflink(2) system call.
Hi everyone, I described the reflink operation at the Linux Storage & Filesystems Workshop last month. Originally implemented as an ocfs2-specific ioctl, the consensus was that it should be a syscall from the get-go. Here's some first-cut patches. For people who have not seen reflink, either at LSF or on the ocfs2 wiki, the first patch contains Documentation/filesystems/reflink.txt to
2007 Jun 03
6
Centos kernel source
I am using centos 4.4 server cd ,when I am trying to compile zaptel 1.4.2 ... error appears > >From where I can get the missing rpms .or kernel source >From where I can get the centos 4.4 server kernel source. Regards ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another
2012 Nov 07
8
[PATCH v11 0/7] make balloon pages movable by compaction
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This patch-set follows the main idea discussed at 2012 LSFMMS session: "Ballooning for transparent huge
2012 Nov 07
8
[PATCH v11 0/7] make balloon pages movable by compaction
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This patch-set follows the main idea discussed at 2012 LSFMMS session: "Ballooning for transparent huge
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in: https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de and the second version of this: https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de this series provides a preemptible variant of kmap_atomic & related interfaces. This is achieved by: - Removing the RT dependency from migrate_disable/enable() - Consolidating all
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in: https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de and the second version of this: https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de this series provides a preemptible variant of kmap_atomic & related interfaces. This is achieved by: - Removing the RT dependency from migrate_disable/enable() - Consolidating all
2020 Nov 03
45
[patch V3 00/37] mm/highmem: Preemptible variant of kmap_atomic & friends
Following up to the discussion in: https://lore.kernel.org/r/20200914204209.256266093 at linutronix.de and the second version of this: https://lore.kernel.org/r/20201029221806.189523375 at linutronix.de this series provides a preemptible variant of kmap_atomic & related interfaces. This is achieved by: - Removing the RT dependency from migrate_disable/enable() - Consolidating all
2012 Nov 11
8
[PATCH v12 0/7] make balloon pages movable by compaction
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This patch-set follows the main idea discussed at 2012 LSFMMS session: "Ballooning for transparent huge