[PATCH] xfs: pull up stack_switch check into xfs_bmapi_write

Ben Myers bpm at sgi.com
Thu Jan 17 18:06:07 CST 2013


On Thu, Jan 17, 2013 at 01:11:29PM -0500, Brian Foster wrote:
> The stack_switch check currently occurs in __xfs_bmapi_allocate,
> which means the stack switch only occurs when xfs_bmapi_allocate()
> is called in a loop. Pull the check up before the loop in
> xfs_bmapi_write() such that the first iteration of the loop has
> consistent behavior.
> 
> Signed-off-by: Brian Foster <bfoster at redhat.com>

Applied.



More information about the xfs mailing list