|
@@ -709,6 +709,18 @@ retry:
|
|
unlock_extent(io_tree, async_extent->start,
|
|
unlock_extent(io_tree, async_extent->start,
|
|
async_extent->start +
|
|
async_extent->start +
|
|
async_extent->ram_size - 1);
|
|
async_extent->ram_size - 1);
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ * we need to redirty the pages if we decide to
|
|
|
|
+ * fallback to uncompressed IO, otherwise we
|
|
|
|
+ * will not submit these pages down to lower
|
|
|
|
+ * layers.
|
|
|
|
+ */
|
|
|
|
+ extent_range_redirty_for_io(inode,
|
|
|
|
+ async_extent->start,
|
|
|
|
+ async_extent->start +
|
|
|
|
+ async_extent->ram_size - 1);
|
|
|
|
+
|
|
goto retry;
|
|
goto retry;
|
|
}
|
|
}
|
|
goto out_free;
|
|
goto out_free;
|