From bcdf18e4dd92f592617c35edbc9ffbb2817bd36c Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Tue, 17 Sep 2019 21:53:05 +0000 Subject: sync with fixes from Redhat, via github; remove testing/Makefile.cplus and testing/Makefile.cplus_fb git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@832 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- testing/sg_tst_async.cpp | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'testing/sg_tst_async.cpp') diff --git a/testing/sg_tst_async.cpp b/testing/sg_tst_async.cpp index af7eed87..e8203a10 100644 --- a/testing/sg_tst_async.cpp +++ b/testing/sg_tst_async.cpp @@ -89,7 +89,7 @@ #include "sg_pt.h" #include "sg_cmds.h" -static const char * version_str = "1.39 20190902"; +static const char * version_str = "1.40 20190917"; static const char * util_name = "sg_tst_async"; /* This is a test program for checking the async usage of the Linux sg @@ -110,21 +110,17 @@ static const char * util_name = "sg_tst_async"; * which is assumed to be a sibling of this examples directory. Those * object files in the lib directory can be built with: * cd ; ./configure ; cd lib; make - * cd ../examples - * Then to build sg_tst_async concatenate the next 3 lines: - * g++ -Wall -std=c++11 -pthread -I ../include ../lib/sg_lib.o - * ../lib/sg_lib_data.o ../lib/sg_io_linux.o -o sg_tst_async - * sg_tst_async.cpp - * or use the C++ Makefile in that directory: - * make -f Makefile.cplus sg_tst_async + * cd ../testing + * make sg_tst_async * * Currently this utility is Linux only and uses the sg driver. The bsg * driver is known to be broken (it doesn't match responses to the - * correct file descriptor that requested them) so this utility won't - * be extended to bsg until that is fixed. + * correct file descriptor that requested them). Around Linux kernel 4.15 + * the async capability of the bsg driver was removed. So this test code + * no longer appiles to the bsg driver. * * BEWARE: >>> This utility will modify a logical block (default LBA 1000) - * on the given device when the '-W' option is given. + * on the given device _when_ the '-W' option is given. * */ -- cgit v1.2.3