Re: [PATCH] inode dirty blocks

From: Andrew Morton (andrewm@uow.edu.au)
Date: Mon Dec 04 2000 - 20:47:40 EST


Alexander Viro wrote:
>
> OK, guys, I think I've got it:

Yes, you have.

Two machines, four hours, zero failures.

This is with

        - test12-pre4
        - aviro bforget patch
        - UnlockPage() removed from vmscan.c:623
        - and

--- linux-2.4.0-test12-pre4/fs/ext2/inode.c Mon Dec 4 21:07:12 2000
+++ linux-akpm/fs/ext2/inode.c Tue Dec 5 08:46:38 2000
@@ -1208,7 +1208,7 @@
                 raw_inode->i_block[0] = cpu_to_le32(kdev_t_to_nr(inode->i_rdev));
         else for (block = 0; block < EXT2_N_BLOCKS; block++)
                 raw_inode->i_block[block] = inode->u.ext2_i.i_data[block];
- mark_buffer_dirty_inode(bh, inode);
+ mark_buffer_dirty(bh);
         if (do_sync) {
                 ll_rw_block (WRITE, 1, &bh);
                 wait_on_buffer (bh);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:12 EST