Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172982
b: refs/heads/master
c: 951c30d
h: refs/heads/master
v: v3
  • Loading branch information
Wu Fengguang authored and Jens Axboe committed Dec 3, 2009
1 parent da509fa commit dac7853
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf7ec5bb6114b2f086e536e24486fdacd1c0d339
refs/heads/master: 951c30d135390a108f102b0f6e3cfa6241f2a1aa
18 changes: 0 additions & 18 deletions trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,6 @@ static void writeback_inodes_wb(struct bdi_writeback *wb,
struct writeback_control *wbc)
{
struct super_block *sb = wbc->sb, *pin_sb = NULL;
const int is_blkdev_sb = sb_is_blkdev_sb(sb);
const unsigned long start = jiffies; /* livelock avoidance */

spin_lock(&inode_lock);
Expand All @@ -635,23 +634,6 @@ static void writeback_inodes_wb(struct bdi_writeback *wb,
continue;
}

if (!bdi_cap_writeback_dirty(wb->bdi)) {
redirty_tail(inode);
if (is_blkdev_sb) {
/*
* Dirty memory-backed blockdev: the ramdisk
* driver does this. Skip just this inode
*/
continue;
}
/*
* Dirty memory-backed inode against a filesystem other
* than the kernel-internal bdev filesystem. Skip the
* entire superblock.
*/
break;
}

if (inode->i_state & (I_NEW | I_WILL_FREE)) {
requeue_io(inode);
continue;
Expand Down

0 comments on commit dac7853

Please sign in to comment.