summaryrefslogtreecommitdiffstats
path: root/extras/generate-xdr-files.sh
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-10-17 11:04:35 +0530
committerVijay Bellur <vijay@gluster.com>2011-11-15 23:26:33 -0800
commit78f3ee4fb1687db948ad5d07d1ed9e6177cc54bc (patch)
treea719a6756c7b9b05b7840e6a596b8185a521d98e /extras/generate-xdr-files.sh
parent34795adcc93497d97f1cd258102f4fa4b540464b (diff)
rdd: create the file and do rdd if the file does not exist.
rdd takes input file and copies the its data to the specified output file ( by creating it) by selecting random offset. If the input file does not exist it will not work. This patch will create the input file if it does not exist and then does the copy. File size is given as an argument. If the file exists it truncates the file and then does the copy. Change-Id: Ia09451e9e80e13f27320f1edc12c73c0dcf663a9 BUG: 3724 Reviewed-on: http://review.gluster.com/596 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'extras/generate-xdr-files.sh')
0 files changed, 0 insertions, 0 deletions