[XFS updates] XFS development tree branch, for-next, updated. v3.8-rc1-33-g311f08a
xfs at oss.sgi.com
xfs at oss.sgi.com
Thu Feb 7 09:44:01 CST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".
The branch, for-next has been updated
311f08a xfs: memory barrier before wake_up_bit()
from a21cd503678286c56b1d0cca1c99349a4aa042f4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 311f08acde635e4e5ccea9b9d8c856cc2e0ced95
Author: Alex Elder <elder at inktank.com>
Date: Mon Feb 4 10:13:11 2013 -0600
xfs: memory barrier before wake_up_bit()
In xfs_ifunlock() there is a call to wake_up_bit() after clearing
the flush lock on the xfs inode. This is not guaranteed to be safe,
as noted in the comments above wake_up_bit() beginning with:
In order for this to function properly, as it uses
waitqueue_active() internally, some kind of memory
barrier must be done prior to calling this.
Signed-off-by: Alex Elder <elder at inktank.com>
Reviewed-by: Dave Chinner <david at fromorbit.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/xfs_inode.h | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list