Christoph Hellwig
6552321831
xfs: remove i_iolock and use i_rwsem in the VFS inode instead
...
This patch drops the XFS-own i_iolock and uses the VFS i_rwsem which
recently replaced i_mutex instead. This means we only have to take
one lock instead of two in many fast path operations, and we can
also shrink the xfs_inode structure. Thanks to the xfs_ilock family
there is very little churn, the only thing of note is that we need
to switch to use the lock_two_directory helper for taking the i_rwsem
on two inodes in a few places to make sure our lock order matches
the one used in the VFS.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Tested-by: Jens Axboe <axboe@fb.com >
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com >
Signed-off-by: Dave Chinner <david@fromorbit.com >
2016-11-30 14:33:25 +11:00
..
2016-11-28 14:57:42 +11:00
2016-10-04 18:06:40 -07:00
2016-10-10 20:16:43 -07:00
2016-11-30 14:33:25 +11:00
2016-11-08 11:35:02 +11:00
2016-10-04 11:05:44 -07:00
2016-10-04 11:05:44 -07:00
2016-11-30 14:33:25 +11:00
2016-08-03 11:18:10 +10:00
2016-09-14 07:51:30 +10:00
2016-08-26 16:01:59 +10:00
2016-11-28 14:57:42 +11:00
2016-11-30 14:33:25 +11:00
2016-08-03 11:38:24 +10:00
2016-07-22 09:52:35 +10:00
2016-08-03 11:19:29 +10:00
2016-07-20 11:51:08 +10:00
2016-10-05 16:26:31 -07:00
2016-07-15 15:31:29 -04:00
2016-09-26 08:21:28 +10:00
2016-08-03 12:29:32 +10:00
2016-08-03 11:23:49 +10:00
2016-11-30 14:33:25 +11:00
2016-10-03 09:56:28 +11:00
2016-10-05 16:26:27 -07:00
2016-10-05 16:26:27 -07:00
2016-10-05 16:26:28 -07:00
2016-11-30 14:33:25 +11:00
2016-10-05 16:26:28 -07:00
2016-11-28 14:57:42 +11:00
2016-11-08 12:59:42 +11:00
2016-11-30 14:33:25 +11:00
2016-11-30 14:33:25 +11:00
2016-07-20 11:29:35 +10:00
2016-11-30 14:33:25 +11:00
2016-07-20 11:29:35 +10:00
2016-11-28 14:57:42 +11:00
2016-10-05 16:26:26 -07:00
2016-11-30 14:33:25 +11:00
2016-09-22 10:56:19 +02:00
2016-10-05 16:26:26 -07:00
2016-10-05 16:26:28 -07:00
2016-07-22 09:52:35 +10:00
2016-09-26 08:22:16 +10:00
2016-10-04 11:05:44 -07:00
2016-07-20 11:53:35 +10:00
2016-10-20 15:45:40 +11:00
2016-10-05 16:26:28 -07:00
2016-10-03 09:11:18 -07:00
2016-11-30 14:33:25 +11:00
2016-11-30 14:33:25 +11:00
2016-11-08 12:59:42 +11:00
2016-10-05 16:26:05 -07:00
2016-10-03 09:11:21 -07:00
2016-11-30 14:33:25 +11:00
2016-11-24 11:39:50 +11:00
2016-10-05 16:26:29 -07:00
2016-09-19 10:24:27 +10:00
2016-08-03 11:19:29 +10:00
2016-10-03 09:11:16 -07:00
2016-10-03 09:11:16 -07:00
2016-11-30 14:33:25 +11:00
2016-09-26 08:21:44 +10:00
2016-11-30 14:33:25 +11:00
2016-10-05 16:26:28 -07:00
2016-10-05 16:26:28 -07:00
2016-10-20 15:42:30 +11:00
2016-08-03 11:15:38 +10:00
2016-10-20 15:54:45 +11:00
2016-10-04 11:05:44 -07:00
2016-09-19 10:30:52 +10:00
2016-09-27 21:06:22 -04:00
2016-10-03 09:11:22 -07:00
2016-10-05 16:26:29 -07:00
2016-10-03 09:52:31 +11:00
2016-10-04 11:05:44 -07:00
2016-09-14 07:40:35 +10:00