Mark Tinguely
9a57fa8ee7
xfs: wait for the write the superblock on unmount
...
v2: Add the xfs_buf_lock to xfs_quiesce_attr().
Add explaination why xfs_buf_lock() is used to wait for write.
xfs_wait_buftarg() does not wait for the completion of the write of the
uncached superblock. This write can race with the shutdown of the log
and causes a panic if the write does not win the race.
During the log write, xfsaild_push() will lock the buffer and set the
XBF_ASYNC flag. Because the XBF_FLAG is set, complete() is not performed
on the buffer's iowait entry, we cannot call xfs_buf_iowait() to wait
for the write to complete. The buffer's lock is held until the write is
complete, so we can block on a xfs_buf_lock() request to be notified
that the write is complete.
Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
2012-07-29 16:34:19 -05:00
..
2010-10-05 12:16:37 +02:00
2012-05-29 23:28:32 -04:00
2012-05-29 23:28:32 -04:00
2012-05-14 16:20:59 -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
2012-05-14 16:20:55 -05:00
2012-05-14 16:21:00 -05:00
2012-07-01 14:50:04 -05:00
2012-07-13 12:50:24 -05:00
2012-05-14 16:20:55 -05:00
2012-07-22 11:00:55 -05:00
2012-07-22 11:00:55 -05:00
2012-07-01 14:50:07 -05:00
2012-07-01 14:50:07 -05:00
2010-01-20 10:47:48 +11:00
2012-07-01 14:50:07 -05:00
2010-01-20 10:47:48 +11:00
2009-01-09 15:53:54 +11:00
2012-05-14 16:20:54 -05:00
2010-01-15 15:31:38 -06:00
2012-06-14 12:28:24 -05:00
2012-05-14 16:20:57 -05:00
2012-05-14 16:20:54 -05:00
2011-07-25 15:03:13 -05:00
2012-07-13 12:50:54 -05:00
2012-07-01 14:50:06 -05:00
2012-07-13 12:50:54 -05:00
2012-07-13 12:50:54 -05:00
2012-07-01 14:50:07 -05:00
2012-07-22 10:34:42 -05:00
2012-05-14 16:21:00 -05:00
2010-01-15 15:31:23 -06:00
2012-06-14 12:28:26 -05:00
2012-07-01 14:50:07 -05:00
2012-07-01 14:50:07 -05:00
2011-07-13 13:43:48 +02:00
2012-07-01 14:50:08 -05:00
2012-07-01 14:50:07 -05:00
2012-07-01 14:50:07 -05:00
2012-07-01 14:50:07 -05:00
2012-07-01 14:50:07 -05:00
2011-07-13 13:43:48 +02:00
2012-05-14 16:20:56 -05:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:21:00 -05:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:20:54 -05:00
2012-05-14 16:20:31 -05:00
2012-05-14 16:20:54 -05:00
2011-03-07 10:09:35 +11:00
2012-05-29 23:28:33 -04:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:21:04 -05:00
2012-05-14 16:21:04 -05:00
2012-05-14 16:20:54 -05:00
2010-12-20 11:59:49 +11:00
2012-06-14 12:28:25 -05:00
2011-10-11 21:15:06 -05:00
2010-07-26 13:16:51 -05:00
2012-01-17 15:08:53 -06:00
2011-07-08 11:32:51 -05:00
2012-05-14 16:21:03 -05:00
2011-01-11 20:28:17 -06:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:20:54 -05:00
2009-02-09 08:37:14 +01:00
2012-07-29 16:10:54 -05:00
2012-07-29 16:00:31 -05:00
2012-07-29 16:23:51 -05:00
2012-06-21 10:53:43 -05:00
2012-05-14 16:20:33 -05:00
2012-07-29 16:16:49 -05:00
2012-07-29 16:23:51 -05:00
2012-05-14 16:20:54 -05:00
2012-05-14 16:21:00 -05:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:21:00 -05:00
2011-08-12 16:21:35 -05:00
2012-06-14 12:28:24 -05:00
2010-12-16 16:05:51 -06:00
2012-07-22 10:38:32 -05:00
2011-08-12 16:21:35 -05:00
2012-07-22 10:46:56 -05:00
2010-06-24 11:35:17 +10:00
2011-10-11 11:02:49 -05:00
2012-06-21 13:49:39 -05:00
2012-06-21 14:22:27 -05:00
2012-07-22 10:46:56 -05:00
2010-05-24 10:33:39 -05:00
2012-06-21 14:22:27 -05:00
2012-05-14 16:20:26 -05:00
2012-05-14 16:20:54 -05:00
2011-10-31 17:30:54 -07:00
2012-07-29 16:34:19 -05:00
2012-06-21 13:49:39 -05:00
2011-02-01 11:42:43 +01:00
2010-01-15 15:34:22 -06:00
2012-05-14 16:21:00 -05:00
2012-05-14 16:20:54 -05:00
2012-06-14 12:28:24 -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
2012-05-14 16:20:54 -05:00
2012-05-14 16:20:54 -05:00
2012-05-14 16:20:58 -05:00
2011-07-25 15:03:13 -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-07-29 16:23:51 -05:00
2012-03-14 12:06:32 -05:00
2012-07-29 16:34:19 -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
2012-05-14 16:21:00 -05:00
2012-07-22 10:38:32 -05:00
2012-07-29 16:27:57 -05:00
2012-07-01 14:50:06 -05:00
2012-05-14 16:21:00 -05:00
2012-05-14 16:20:54 -05:00
2012-05-14 16:21:00 -05:00
2012-07-29 16:27:57 -05:00
2009-02-09 08:37:14 +01:00
2012-05-29 23:28:32 -04:00
2012-07-01 14:50:06 -05:00
2012-07-01 14:50:04 -05:00
2012-07-29 16:00:31 -05:00
2012-01-03 22:55:00 -05:00
2012-03-15 13:40:16 -05:00
2012-07-29 16:22:20 -05: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