Whamcloud - gitweb
LU-4904 test: write_append_truncate failed with divide error 48/9948/4
authorAndriy Skulysh <Andriy_Skulysh@xyratex.com>
Sun, 4 May 2014 11:46:22 +0000 (14:46 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 20 May 2014 04:14:52 +0000 (04:14 +0000)
commit85b037f5da6a022919783ef9a87ed6d2a4d102d2
tree1501b05ce81893f016818aa24e6524d739fd9597
parent90636ff53d8d2d714a7591c4bb9a75a7c69f997f
LU-4904 test: write_append_truncate failed with divide error

fix trunc_size calculation in case of append_size == 1
Don't allow to specify write_max and append_max < 2.

Change-Id: I2a9ded4b10ef90a9e02b1b0f1229c87177f046d4
Xyratex-bug-id: MRP-1779
Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-on: http://review.whamcloud.com/9948
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/mpi/write_append_truncate.c