]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: split up __extent_writepage to lower stack usage
authorChris Mason <clm@fb.com>
Wed, 21 May 2014 20:35:51 +0000 (13:35 -0700)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:58 +0000 (17:20 -0700)
commitc2fa8da5832ce6f2ae25b55900f4e06dce986e77
tree32896ba4b98e34067bc26834c8cc26bb13106f9c
parent2410f4b740cf3d016ecdc9af1179fabf9217b7f8
Btrfs: split up __extent_writepage to lower stack usage

__extent_writepage has two unrelated parts.  First it does the delayed
allocation dance and second it does the mapping and IO for the page
we're actually writing.

This splits it up into those two parts so the stack from one doesn't
impact the stack from the other.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c
fs/btrfs/inode.c