commit | ab714aff4f744f52f0beae93ed441f2f5585eb7a | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Jun 30 11:39:38 2016 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Jun 30 11:39:38 2016 -0400 |
tree | 2c62c6356d6445d05492d3838e2acfc27db4192c | |
parent | 7a4b188f0c0b49ed8ae41489494a9669ad7f1f8c [diff] |
jbd2: move lockdep tracking to journal_s Currently lockdep map is tracked in each journal handle. To be able to expand lockdep support to cover also other cases where we depend on transaction commit and where handle is not available, move lockdep map into struct journal_s. Since this makes the lockdep map shared for all handles, we have to use rwsem_acquire_read() for acquisitions now. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>