]> git.neil.brown.name Git - LaFS.git/commit
wait more effectively for truncate to progress.
authorNeilBrown <neilb@suse.de>
Sun, 1 Aug 2010 00:57:01 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 9 Aug 2010 02:01:42 +0000 (12:01 +1000)
commit8c394fff184ed83cbc4ac3c48c99440fdc7d4b02
tree1e09b8f30980cf6af83c4ded43a5ceed27ae77c5
parentb858851d50fc1b79008f956deb8c9d22057239d7
wait more effectively for truncate to progress.

The times that we wait for truncate to progress, we hold
i_mutex, so truncate cannot progress.
So if there is a need to wait, we need to call the orphan
handler directly.

Signed-off-by: NeilBrown <neilb@suse.de>
file.c
inode.c