diff options
author | Johann Lombardi <[email protected]> | 2011-05-24 18:31:25 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2011-05-24 18:31:25 -0400 |
commit | c5e06d101aaf72f1f2192a661414459775e9bd74 (patch) | |
tree | 96d05d41be2bfea6d51be915ce196f033a5d9bf3 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | d02a9391f79cab65cde74cd9e8ccd2290a565229 (diff) |
ext4: add support for multiple mount protection
Prevent an ext4 filesystem from being mounted multiple times.
A sequence number is stored on disk and is periodically updated (every 5
seconds by default) by a mounted filesystem.
At mount time, we now wait for s_mmp_update_interval seconds to make sure
that the MMP sequence does not change.
In case of failure, the nodename, bdevname and the time at which the MMP
block was last updated is displayed.
Signed-off-by: Andreas Dilger <[email protected]>
Signed-off-by: Johann Lombardi <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions