Simplified distributed block storage with strong consistency, like in Ceph
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
247 B

  1. #!/bin/bash
  2. gcc -I. -E -o fio_headers.i src/fio_headers.h
  3. rm -rf fio-copy
  4. for i in `grep -Po 'fio/[^"]+' fio_headers.i | sort | uniq`; do
  5. j=${i##fio/}
  6. p=$(dirname $j)
  7. mkdir -p fio-copy/$p
  8. cp $i fio-copy/$j
  9. done
  10. rm fio_headers.i