]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: allow log ticket allocation to take allocation flags
authorDave Chinner <dchinner@redhat.com>
Fri, 7 May 2010 01:04:17 +0000 (11:04 +1000)
committerAlex Elder <aelder@sgi.com>
Mon, 24 May 2010 15:33:17 +0000 (10:33 -0500)
commit036ff929b01619aa656fcd24f729dcaa8d4bbb96
tree582aaa878f90af0e48941c3fcadbafe4c1a695f4
parent6eb2817a83f91d560b0bcffe8810c0929e77adbf
xfs: allow log ticket allocation to take allocation flags

Delayed logging currently requires ticket allocation to succeed, so
we need to be able to sleep on allocation. It also should not allow
memory allocation to recurse into the filesystem. hence we need to
pass allocation flags directing the type of allocation the caller
requires.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_log.c