summaryrefslogtreecommitdiff
path: root/lib/sqfs/block_processor/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/block_processor/backend.c')
-rw-r--r--lib/sqfs/block_processor/backend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqfs/block_processor/backend.c b/lib/sqfs/block_processor/backend.c
index 616cbe6..acff7f5 100644
--- a/lib/sqfs/block_processor/backend.c
+++ b/lib/sqfs/block_processor/backend.c
@@ -320,8 +320,10 @@ int dequeue_block(sqfs_block_processor_t *proc)
if (status != 0)
return status;
} else {
- if (!(blk->flags & SQFS_BLK_FRAGMENT_BLOCK))
+ if (!(blk->flags & SQFS_BLK_FRAGMENT_BLOCK) ||
+ (blk->flags & BLK_FLAG_MANUAL_SUBMISSION)) {
blk->io_seq_num = proc->io_seq_num++;
+ }
store_io_block(proc, blk);
}