Whamcloud - gitweb
- drop dirty bit always
authoralex <alex>
Tue, 20 Oct 2009 06:14:27 +0000 (06:14 +0000)
committeralex <alex>
Tue, 20 Oct 2009 06:14:27 +0000 (06:14 +0000)
lustre/osd/osd_io.c

index 72bd28d..74b3c53 100644 (file)
@@ -548,8 +548,8 @@ static int osd_write_commit(const struct lu_env *env, struct dt_object *dt,
 #if 0
                 /* XXX */
                 if (fo->fo_writethrough_cache)
-                        clear_page_dirty_for_io(lb[i].page);
 #endif
+                clear_page_dirty_for_io(lb[i].page);
                 LASSERT(!PageDirty(lb[i].page));
                 SetPageUptodate(lb[i].page);