Brian Foster 9e96fe6df4 xfs: pull up stack_switch check into xfs_bmapi_write
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@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-01-17 17:53:37 -06:00
..
2012-11-19 20:11:24 -06:00
2012-11-14 15:15:08 -06:00
2012-11-19 20:11:24 -06:00
2012-11-15 21:34:55 -06:00
2012-11-19 20:11:24 -06:00
2012-11-14 15:15:08 -06:00
2012-10-17 13:42:25 -05:00
2012-05-14 16:20:54 -05:00
2012-11-14 15:12:45 -06:00
2012-11-19 20:11:24 -06:00
2012-09-18 01:01:39 -07:00
2012-11-19 20:11:24 -06:00
2012-10-17 12:01:25 -05:00
2012-05-14 16:21:00 -05:00
2012-07-31 09:45:48 +04:00