2 diff -puN fs/fs-writeback.c~inode-protection-from-pdflush fs/fs-writeback.c
3 --- linux-2.5.73/fs/fs-writeback.c~inode-protection-from-pdflush Mon Jul 7 01:10:17 2003
4 +++ linux-2.5.73-alexey/fs/fs-writeback.c Mon Jul 7 01:10:17 2003
5 @@ -198,6 +198,11 @@ static void
6 __writeback_single_inode(struct inode *inode,
7 struct writeback_control *wbc)
9 + if (inode->i_flags & I_SKIP_PDFLUSH) {
10 + list_move(&inode->i_list, &inode->i_sb->s_dirty);
14 if ((wbc->sync_mode != WB_SYNC_ALL) && (inode->i_state & I_LOCK)) {
15 list_move(&inode->i_list, &inode->i_sb->s_dirty);
17 diff -puN include/linux/fs.h~inode-protection-from-pdflush include/linux/fs.h
18 --- linux-2.5.73/include/linux/fs.h~inode-protection-from-pdflush Mon Jul 7 01:22:16 2003
19 +++ linux-2.5.73-alexey/include/linux/fs.h Mon Jul 7 01:23:18 2003
20 @@ -816,6 +816,7 @@ struct super_operations {
24 +#define I_SKIP_PDFLUSH 1024 /* inode will be out of pdflush's scope */
26 #define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES)