search for: guestfs_add_drive_opts_blocksize

Displaying 3 results from an estimated 3 matches for "guestfs_add_drive_opts_blocksize".

2020 Feb 19
2
[PATCH 0/1] virt-make-fs: add '--blocksize' option support
From: Nikolay Ivanets <stenavin@gmail.com> This patch adds 4096 bytes sector size for output disk. Side notes: While working on this patch I reveal long standing issue: virt-make-fs can fail if source directory/archive contains certain amount of really small or empty files or wide tree of directories. That is because of lack of available inodes on a small file system to keep files
2020 Feb 19
0
[PATCH 1/1] virt-make-fs: add '--blocksize' option support
...mate += 4096 * 4096; + } + /* Add 10%, see above. */ estimate *= 1.10; @@ -718,6 +741,7 @@ do_make_fs (const char *input, const char *output_str) if (guestfs_add_drive_opts (g, output, GUESTFS_ADD_DRIVE_OPTS_FORMAT, format, + GUESTFS_ADD_DRIVE_OPTS_BLOCKSIZE, blocksize, -1) == -1) return -1; diff --git a/make-fs/test-virt-make-fs.sh b/make-fs/test-virt-make-fs.sh index 79d058b6a..01c332b1d 100755 --- a/make-fs/test-virt-make-fs.sh +++ b/make-fs/test-virt-make-fs.sh @@ -83,9 +83,12 @@ size=`random_choice` choices=(...
2020 Feb 24
1
[PATCH v2] virt-make-fs: add '--blocksize' option support
...mate += 4096 * 4096; + } + /* Add 10%, see above. */ estimate *= 1.10; @@ -718,6 +743,7 @@ do_make_fs (const char *input, const char *output_str) if (guestfs_add_drive_opts (g, output, GUESTFS_ADD_DRIVE_OPTS_FORMAT, format, + GUESTFS_ADD_DRIVE_OPTS_BLOCKSIZE, blocksize, -1) == -1) return -1; diff --git a/make-fs/test-virt-make-fs.sh b/make-fs/test-virt-make-fs.sh index 79d058b6a..01c332b1d 100755 --- a/make-fs/test-virt-make-fs.sh +++ b/make-fs/test-virt-make-fs.sh @@ -83,9 +83,12 @@ size=`random_choice` choices=(...