diff options
author | Eric Sandeen <[email protected]> | 2010-05-16 02:00:00 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2010-05-16 02:00:00 -0400 |
commit | 6b0310fbf087ad6e9e3b8392adca97cd77184084 (patch) | |
tree | 6c15fad6ca442d92e8075578a9b04811ca093bda /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 256a453546f1cf2c29a639c79fe0d603761a8e25 (diff) |
ext4: don't return to userspace after freezing the fs with a mutex held
ext4_freeze() used jbd2_journal_lock_updates() which takes
the j_barrier mutex, and then returns to userspace. The
kernel does not like this:
================================================
[ BUG: lock held when returning to user space! ]
------------------------------------------------
lvcreate/1075 is leaving the kernel with locks still held!
1 lock held by lvcreate/1075:
#0: (&journal->j_barrier){+.+...}, at: [<ffffffff811c6214>]
jbd2_journal_lock_updates+0xe1/0xf0
Use vfs_check_frozen() added to ext4_journal_start_sb() and
ext4_force_commit() instead.
Addresses-Red-Hat-Bugzilla: #568503
Signed-off-by: Eric Sandeen <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions