diff options
author | Sunil Kumar Acharya <sheggodu@redhat.com> | 2017-06-14 16:28:40 +0530 |
---|---|---|
committer | Pranith Kumar K <pkarampu@redhat.com> | 2017-10-25 17:22:41 +0530 |
commit | 63160cb952fe7716a3313ce5ee32f890fe4d7a0c (patch) | |
tree | 3a82114a57071e68ed645e014931a34edebb13fe /tests/include.rc | |
parent | 2ade36cd98ea0f5bd2a8f619a19c20438318afaf (diff) |
cluster/ec: Implement DISCARD FOP for EC
Updates #254
This code change implements DISCARD FOP support for
EC.
BUG: 1461018
Change-Id: I09a9cb2aa9d91ec27add4f422dc9074af5b8b2db
Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com>
Diffstat (limited to 'tests/include.rc')
-rw-r--r-- | tests/include.rc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc index 73660127df1..7cd15a2d249 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -1230,3 +1230,10 @@ function STAT_INO() echo 0 fi } + +function get_md5_sum() +{ + local file=$1; + md5_sum=$(md5sum $file | awk '{print $1}'); + echo $md5_sum +} |