Spdk/test/lib/bdev/nbd
Daniel Verkamp dbbde9991d test/bdev/nbd: allow building with old kernels
Older kernels do not support flush or trim operations; add #ifdefs to
allow the NBD test code to work on those kernels.

Fixes build on older distributions (e.g. CentOS 6).

Change-Id: Iae06f96b7db9a3bf4a494e2b2c2c15b37e6c1293
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/367132
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-06-29 16:51:12 -04:00
..
.gitignore test/bdev: add nbd test app 2017-06-23 13:01:04 -04:00
Makefile test/bdev: add nbd test app 2017-06-23 13:01:04 -04:00
nbd.c test/bdev/nbd: allow building with old kernels 2017-06-29 16:51:12 -04:00