Josef Bacik
4e06bdd6cb
Btrfs: try committing transaction before returning ENOSPC
...
This fixes a problem where we could return -ENOSPC when we may actually have
plenty of space, the space is just pinned. Instead of returning -ENOSPC
immediately, commit the transaction first and then try and do the allocation
again.
This patch also does chunk allocation for metadata if we pass the 80%
threshold for metadata space. This will help with stack usage since the chunk
allocation will happen early on, instead of when the allocation is happening.
Signed-off-by: Josef Bacik <jbacik@redhat.com>
2009-02-20 10:59:53 -05:00
..
2009-01-05 21:25:51 -05:00
2009-02-04 09:23:24 -05:00
2008-11-06 22:03:00 -05:00
2009-02-20 11:00:09 -05:00
2009-01-06 09:38:55 -05:00
2009-01-21 10:49:16 -05:00
2008-10-29 14:49:59 -04:00
2009-01-07 19:56:59 -05:00
2009-02-12 14:09:45 -05:00
2009-02-20 11:00:09 -05:00
2009-01-05 21:25:51 -05:00
2009-02-12 14:09:45 -05:00
2009-02-12 14:09:45 -05:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:06 -04:00
2009-02-12 14:25:23 -05:00
2009-02-04 09:25:08 -05:00
2009-01-21 10:49:16 -05:00
2008-11-10 07:34:43 -05:00
2009-02-20 10:59:53 -05:00
2009-01-06 11:42:00 -05:00
2009-02-20 11:00:09 -05:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:06 -04:00
2008-12-02 09:54:17 -05:00
2009-02-12 14:11:25 -05:00
2009-02-20 11:00:09 -05:00
2009-02-20 11:00:09 -05:00
2009-01-16 11:59:08 -05:00
2009-02-04 09:28:28 -05:00
2009-02-12 14:09:45 -05:00
2009-02-09 16:22:03 -05:00
2008-10-29 14:49:59 -04:00
2009-01-21 10:59:08 -05:00
2008-12-08 16:58:54 -05:00
2008-09-25 11:04:05 -04:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:03:56 -04:00
2009-02-04 09:27:02 -05:00
2009-02-04 09:27:02 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-02-12 09:45:08 -05:00
2009-01-05 21:25:51 -05:00
2009-02-12 14:14:53 -05:00
2009-01-05 21:25:51 -05:00
2009-02-04 09:25:08 -05:00
2009-02-12 14:14:53 -05:00
2008-09-25 11:04:07 -04:00
2008-09-25 15:41:59 -04:00
2008-11-19 21:17:22 -05:00
2009-02-12 14:09:45 -05:00
2008-12-12 10:03:26 -05:00
2009-02-04 09:29:13 -05:00
2009-02-04 09:29:13 -05:00
2009-01-05 21:25:51 -05:00