Christoph Hellwig
1c30462542
xfs: allow assigning the tail lsn with the AIL lock held
...
Provide a variant of xlog_assign_tail_lsn that has the AIL lock already
held. By doing so we do an additional atomic_read + atomic_set under
the lock, which comes down to two instructions.
Switch xfs_trans_ail_update_bulk and xfs_trans_ail_delete_bulk to the
new version to reduce the number of lock roundtrips, and prepare for
a new addition that would require a third lock roundtrip in
xfs_trans_ail_delete_bulk. This addition is also the reason for
slightly rearranging the conditionals and relying on xfs_log_space_wake
for checking that the filesystem has been shut down internally.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2012-05-14 16:20:26 -05:00
..
2011-08-12 16:21:35 -05:00
2012-02-10 12:38:09 -06:00
2012-03-14 11:09:06 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-12-16 15:17:42 -06:00
2011-08-01 02:35:04 -04:00
2011-07-25 15:03:13 -05:00
2011-07-13 13:43:50 +02:00
2012-03-27 16:07:03 -05:00
2012-03-27 16:07:03 -05:00
2012-05-14 16:20:22 -05:00
2012-03-13 16:30:49 -05:00
2012-03-27 17:18:21 -05:00
2012-03-27 17:18:21 -05:00
2011-07-13 13:43:50 +02:00
2012-03-22 15:31:06 -05:00
2011-10-11 21:15:07 -05:00
2011-10-11 21:15:09 -05:00
2011-07-25 15:03:13 -05:00
2011-11-08 10:48:23 -06:00
2012-03-05 11:07:42 -06:00
2012-03-28 18:30:03 +01:00
2012-03-27 17:18:21 -05:00
2011-07-13 13:43:50 +02:00
2012-03-13 17:08:17 -05:00
2011-07-25 15:03:13 -05:00
2012-03-14 13:21:17 -05:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-10-11 21:15:03 -05:00
2011-07-25 13:56:39 -07:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-26 15:05:16 -04:00
2011-07-13 13:43:48 +02:00
2012-03-27 16:07:03 -05:00
2011-08-12 16:21:35 -05:00
2011-12-12 17:28:20 -06:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:20:25 -05:00
2012-03-14 11:53:34 -05:00
2011-03-07 10:08:35 +11:00
2011-03-07 10:09:35 +11:00
2011-12-06 10:46:23 -06:00
2011-08-12 16:21:35 -05:00
2011-11-08 10:48:23 -06:00
2012-05-14 16:20:20 -05:00
2011-10-11 21:15:06 -05:00
2012-01-17 15:08:53 -06:00
2011-07-08 11:32:51 -05:00
2011-10-11 21:15:01 -05:00
2011-08-12 16:21:35 -05:00
2011-07-13 13:43:50 +02:00
2012-01-03 22:55:00 -05:00
2012-01-03 22:55:00 -05:00
2012-05-14 16:20:25 -05:00
2012-03-13 17:18:14 -05:00
2012-03-13 17:18:14 -05:00
2012-05-14 16:20:25 -05:00
2012-03-26 17:19:08 -05:00
2011-07-08 14:35:03 +02:00
2012-03-14 13:21:17 -05:00
2011-08-12 16:21:35 -05:00
2012-03-22 15:56:52 -05:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:20:21 -05:00
2012-05-14 16:20:20 -05:00
2011-08-12 16:21:35 -05:00
2012-03-26 17:19:08 -05:00
2011-10-11 11:02:49 -05:00
2012-01-08 13:21:22 -08:00
2012-02-22 22:37:04 -06:00
2012-03-27 16:34:10 -05:00
2012-05-14 16:20:26 -05:00
2012-05-14 16:20:26 -05:00
2011-08-12 16:21:35 -05:00
2011-10-31 17:30:54 -07:00
2012-02-03 11:21:33 -06:00
2012-03-05 11:07:42 -06:00
2011-02-01 11:42:43 +01:00
2012-03-14 12:06:32 -05:00
2012-03-14 11:53:34 -05:00
2012-05-14 16:20:15 -05:00
2012-03-14 12:06:32 -05:00
2012-03-14 11:09:06 -05:00
2012-02-03 11:32:20 -06:00
2011-08-12 16:21:35 -05:00
2012-03-20 21:29:32 -04:00
2012-03-22 15:31:06 -05:00
2011-07-25 15:03:13 -05:00
2011-10-11 21:15:10 -05:00
2011-10-11 21:15:10 -05:00
2012-02-02 17:08:04 -06:00
2012-03-14 11:09:06 -05:00
2012-03-14 11:09:06 -05:00
2012-05-14 16:20:23 -05:00
2012-03-14 12:06:32 -05:00
2012-05-14 16:20:25 -05:00
2012-03-13 17:01:15 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-03-27 17:18:21 -05:00
2012-05-14 16:20:26 -05:00
2012-02-22 22:17:00 -06:00
2012-03-14 12:06:32 -05:00
2012-03-13 17:08:17 -05:00
2012-05-14 16:20:26 -05:00
2012-02-22 22:37:04 -06:00
2011-12-08 13:53:30 -06:00
2011-04-28 13:18:04 -05:00
2012-03-20 21:29:32 -04:00
2012-01-03 22:55:00 -05:00
2012-03-15 13:40:16 -05:00
2012-03-20 21:29:32 -04:00
2012-03-15 13:40:16 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 13:57:55 -05:00