diff options
| author | Dave Kleikamp <shaggy@shaggy.austin.ibm.com> | 2003-02-17 00:09:10 -0600 |
|---|---|---|
| committer | Dave Kleikamp <shaggy@shaggy.austin.ibm.com> | 2003-02-17 00:09:10 -0600 |
| commit | 5d8884022947bb219b69472a5925f17082af609b (patch) | |
| tree | 539ab37b0e8414e3c4dbeab3594d5c7c62355ed1 /drivers/input/input.c | |
| parent | d3845a62e6c8943d01e0578551cc10ecd8a45c89 (diff) | |
JFS: Fix jfs_sync_fs
jfs_sync_fs was implemented using the same code as the unmount code to flush
the journal and wait for the journal to quiesce. Since jfs_sync_fs may be
called while the volume is under heavy use, we can end up waiting
indefinately. Code in jfs_flush_journal meant to detect a hang at unmount
time may be triggered in this case causing a trap. This patch changes
jfs_sync_fs to only wait until the most recent transaction has been
commited to disk, rather than waiting until the commit queue is empty.
Diffstat (limited to 'drivers/input/input.c')
0 files changed, 0 insertions, 0 deletions
