Displaying 4 results from an estimated 4 matches for "balance_dirty_pages_ratelimited_nr".
2010 Apr 26
0
[PATCH V2 11/12] Btrfs: Pre-allocate space for data relocation
...ock_extent(&BTRFS_I(inode)->io_tree,
page_start, page_end, GFP_NOFS);
@@ -2670,20 +2719,11 @@ static int relocate_file_extent_cluster(
page_cache_release(page);
index++;
- if (nr < cluster->nr &&
- page_end + 1 + offset == cluster->boundary[nr]) {
- balance_dirty_pages_ratelimited_nr(inode->i_mapping,
- dirty_page);
- dirty_page = 0;
- }
- }
- if (dirty_page) {
- balance_dirty_pages_ratelimited_nr(inode->i_mapping,
- dirty_page);
+ balance_dirty_pages_ratelimited(inode->i_mapping);
+ btrfs_throttle(BTRFS_I(inode)->root);
}
WARN_ON(nr != cl...
2012 Nov 12
0
[PATCH 3/3] ocfs2: Add freeze protection to ocfs2_file_splice_write()
...en,
out->f_path.dentry->d_name.name, len);
+ if (!sb_start_file_write(out))
+ return -EAGAIN;
+
if (pipe->inode)
mutex_lock_nested(&pipe->inode->i_mutex, I_MUTEX_PARENT);
@@ -2527,6 +2530,7 @@ static ssize_t ocfs2_file_splice_write(struct pipe_inode_info *pipe,
balance_dirty_pages_ratelimited_nr(mapping, nr_pages);
}
+ sb_end_write(inode->i_sb);
return ret;
}
--
1.7.1
2007 Dec 09
2
centos 5.1 kernel crash on 2.6.23.9
...] :ext3:__ext3_journal_dirty_metadata+0x1e/0x46
Dec 8 22:23:58 devcentos5x64 kernel: [<ffffffff810a8c00>] sync_sb_inodes+0x1a3/0x261
Dec 8 22:23:58 devcentos5x64 kernel: [<ffffffff810a9030>] writeback_inodes+0x82/0xd8
Dec 8 22:23:58 devcentos5x64 kernel: [<ffffffff8106c869>] balance_dirty_pages_ratelimited_nr+0x114/0x1f4
Dec 8 22:23:58 devcentos5x64 kernel: [<ffffffff81068168>] generic_file_buffered_write+0x62d/0x751
Dec 8 22:23:58 devcentos5x64 kernel: [<ffffffff810685c8>] __generic_file_aio_write_nolock+0x33c/0x3a6
Dec 8 22:23:58 devcentos5x64 kernel: [<ffffffff811ec26b>] sock_...
2011 Jan 19
0
Bug#603727: xen-hypervisor-4.0-amd64: i386 Dom0 crashes after doing some I/O on local storage (software Raid1 on SAS-drives with mpt2sas driver)
..._events+0x12/0x20
[163440.615645] [<ffffffff8130c8b2>] ? _spin_unlock_irqrestore+0xd/0xe
[163440.615650] [<ffffffff81108b56>] ? writeback_single_inode+0xe7/0x2da
[163440.615656] [<ffffffff8110985c>] ? writeback_inodes_wb+0x424/0x4ff
[163440.615662] [<ffffffff810bc18f>] ?
balance_dirty_pages_ratelimited_nr+0x192/0x332
[163440.615669] [<ffffffff810b5bf5>] ? generic_file_buffered_write+0x1f5/0x278
[163440.615676] [<ffffffff810b4329>] ? generic_segment_checks+0x50/0x76
[163440.615682] [<ffffffff810b6029>] ? __generic_file_aio_write+0x25f/0x293
[163440.615688] [<ffffffff810b60b6&...