Commit 02981bb9 authored by Dave Kleikamp's avatar Dave Kleikamp

Merge jfs@jfs.bkbits.net:linux-2.5

into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
parents b1b782f7 1edf3267
...@@ -2209,9 +2209,21 @@ void txForce(struct tblock * tblk) ...@@ -2209,9 +2209,21 @@ void txForce(struct tblock * tblk)
tlck->flag &= ~tlckWRITEPAGE; tlck->flag &= ~tlckWRITEPAGE;
/* do not release page to freelist */ /* do not release page to freelist */
/*
* The "right" thing to do here is to
* synchronously write the metadata.
* With the current implementation this
* is hard since write_metapage requires
* us to kunmap & remap the page. If we
* have tlocks pointing into the metadata
* pages, we don't want to do this. I think
* we can get by with synchronously writing
* the pages when they are released.
*/
assert(atomic_read(&mp->nohomeok)); assert(atomic_read(&mp->nohomeok));
hold_metapage(mp, 0); set_bit(META_dirty, &mp->flag);
write_metapage(mp); set_bit(META_sync, &mp->flag);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment