[PATCH v2 1/2] xfs: conditionally force log on trylock failure of pinned/stale buf

Mark Tinguely tinguely at sgi.com
Wed Feb 6 14:24:43 CST 2013


On 02/06/13 06:44, Brian Foster wrote:
> xfs_force_log() is not safe from all contexts. Add a flag parameter
> to xfs_buf_trylock() to specify when the force is appropriate and
> create a macro to preserve current behavior.
>
> Signed-off-by: Brian Foster<bfoster at redhat.com>
> ---
>   fs/xfs/xfs_buf.c |    8 +++++---
>   fs/xfs/xfs_buf.h |    3 ++-
>   2 files changed, 7 insertions(+), 4 deletions(-)
>

Looks good.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list