diff options
author | Josef Bacik <jbacik@fusionio.com> | 2012-09-06 16:47:00 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:19:15 -0400 |
commit | dea31f52337c18f19eadfbbccb0c477942dad495 (patch) | |
tree | 1088f1de2b69f6d8af1de1c57a40de64b6872d31 /scripts/checkversion.pl | |
parent | 9e8a4a8b0b9484e8d14674fc62c9ad8ac9dbce5b (diff) | |
download | blackbird-op-linux-dea31f52337c18f19eadfbbccb0c477942dad495.tar.gz blackbird-op-linux-dea31f52337c18f19eadfbbccb0c477942dad495.zip |
Btrfs: wait on async pages when shrinking delalloc
Mitch reported a problem where you could get an ENOSPC error when untarring
a kernel git tree onto a 16gb file system with compress-force=zlib. This is
because compression is a huge pain, it will return from ->writepages()
without having actually created any ordered extents. To get around this we
check to see if the async submit counter is up, and if it is wait until it
drops to 0 before doing our normal ordered wait dance. With this patch I
can now untar a kernel git tree onto a 16gb file system without getting
ENOSPC errors. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'scripts/checkversion.pl')
0 files changed, 0 insertions, 0 deletions