diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2019-09-17 21:53:05 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2019-09-17 21:53:05 +0000 |
commit | bcdf18e4dd92f592617c35edbc9ffbb2817bd36c (patch) | |
tree | d408e019b135df92eb3f6860333865b9c9064b5c /testing/sg_tst_async.cpp | |
parent | eaa9d929aba1cc812418582c779731bcde2adf68 (diff) | |
download | sg3_utils-bcdf18e4dd92f592617c35edbc9ffbb2817bd36c.tar.gz |
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
Diffstat (limited to 'testing/sg_tst_async.cpp')
-rw-r--r-- | testing/sg_tst_async.cpp | 18 |
1 files changed, 7 insertions, 11 deletions
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 <sg3_utils_package_root> ; ./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. * */ |