bdcf7f23d5091c81565bc5011a639675f5f81826 |
|
08-Oct-2016 |
Mohan Srinivasan <srmohan@google.com> |
Fixes a segfault (divide by zero in create_unique_file()). Don't pass in a zero size into create_unique_file(), since this function attempts to create and populate a file the asked size (it also causes a division by zero error when the size is zero). Test: Run puncture_fs several times to cover case where the random number generator returns value which would have caused size to be 0 (tested with debug printf to catch the case where we regenerated the random number). Change-Id: I397b92e2bc1e9164bb2b2e474a7135f81fc30b23 Signed-off-by: Mohan Srinivasan <srmohan@google.com>
/system/extras/puncture_fs/puncture_fs.c
|
faba3263b7d4c1c057ca9d1291f258860c1359a5 |
|
18-Aug-2015 |
Yusuke Sato <yusukes@google.com> |
Use the new version of android_fork_execvp_ext() This CL depends on I818f5cf61045286c8d64a91b6d50f05740329be1. Bug: 21725996 Change-Id: I2d26cf79989de717b7695757d0297a16dedbebbd
/system/extras/puncture_fs/puncture_fs.c
|
125e060bacf25da4043515a9da8ca6da581b759d |
|
29-Dec-2014 |
Elliott Hughes <enh@google.com> |
Fix missing #includes in system/extras. Change-Id: I78000cea6b2012f571e596ed400b3f04847cb761
/system/extras/puncture_fs/puncture_fs.c
|
a2b7dbef923dbc1652fbb71969416cdd7adb40df |
|
26-Jun-2014 |
Mohamad Ayyash <mkayyash@google.com> |
puncture_fs: A new utility that is used with fs benchmarking tools. The tools fills up the filesystem completely then removes a set of files of predefined size to free up some predefined non-contiguous free space. It is used with benchmarking tools like fio to collect metrics on a used filesystem with sparse free space. Change-Id: Ieb1d38c0f95c51462060e541a662c378b79d81fb
/system/extras/puncture_fs/puncture_fs.c
|