mirror of
https://review.haiku-os.org/haiku
synced 2025-02-08 06:39:06 +01:00
weird behavior when running in kernel. * checksumfs_io(): Try to lock with timeout when the request is VIP. This works around a potential quasi-deadlock: Most write support FS hooks potentially allocate memory (e.g. in block_cache_get*()) while holding a write lock to a node. When memory is low they have to wait for pages to become available. The page writer might block on such node which in turn would prevent modified pages from becoming eligible for recycling. Should only in rare low memory cases have led to a problem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37687 a95241bf-73f2-0310-859d-f6bbb57e9c96