On 2013-01-10 12:36, majianpeng wrote: > If new_size was zero or realloc failed, it would be segment fault. > So add a check. It's a drop in the bucket, fio basically does not alloc failure checking. It'd be nice to improve on that, but you'd need a lot more than the below to get near fixing that. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html