Skip to content

Commit

Permalink
src/shifter_core.c: respect cache block size
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-belkin committed Oct 2, 2020
1 parent 4c97268 commit ab52d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shifter_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ int setupPerNodeCacheBackingStore(VolMapPerNodeCacheConfig *cache, const char *b
args[0] = _strdup(udiConfig->ddPath);
args[1] = _strdup("if=/dev/zero");
args[2] = alloc_strgenf("of=%s", buffer);
args[3] = _strdup("bs=1");
args[3] = alloc_strgenf("bs=%lu", cache->blockSize);
args[4] = _strdup("count=0");
args[5] = alloc_strgenf("seek=%lu", cache->cacheSize);
args[6] = NULL;
Expand Down

0 comments on commit ab52d67

Please sign in to comment.