|
|
| version 1.544, 2007/09/28 15:59:52 | version 1.545, 2007/10/02 04:16:44 |
|---|---|
| Line 692 xfs_quiesce_fs( | Line 692 xfs_quiesce_fs( |
| * care of the metadata. New transactions are already blocked, so we need to | * care of the metadata. New transactions are already blocked, so we need to |
| * wait for any remaining transactions to drain out before proceding. | * wait for any remaining transactions to drain out before proceding. |
| */ | */ |
| STATIC void | void |
| xfs_attr_quiesce( | xfs_attr_quiesce( |
| xfs_mount_t *mp) | xfs_mount_t *mp) |
| { | { |
| Line 1902 xfs_showargs( | Line 1902 xfs_showargs( |
| seq_puts(m, "," MNTOPT_DMAPI); | seq_puts(m, "," MNTOPT_DMAPI); |
| return 0; | return 0; |
| } | } |
| /* | |
| * Second stage of a freeze. The data is already frozen so we only | |
| * need to take care of themetadata. Once that's done write a dummy | |
| * record to dirty the log in case of a crash while frozen. | |
| */ | |
| void | |
| xfs_freeze( | |
| xfs_mount_t *mp) | |
| { | |
| xfs_attr_quiesce(mp); | |
| xfs_fs_log_dummy(mp); | |
| } |