mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
7a87bf25a6881fe0be9954bb2c97403a15dbeb0b
This patch: * fixes signatures for log_debug and log_pdu macros * collapses __log_<LEVEL> functions into one * adds conditional logging Here conditional logging means that the logging priority and logging level may vary depending on some dynamic parameters. This is helpful when software is able to recover from errors which occur periodically and hence, there is no need to pollute system logs with tons of repetitive non-critical lines. The following macros are added to support this feature: * log_info_cond * log_warning_cond * log_error_cond They take an additional first parameter called "level". If it is 0 then they act as their non-cond counterparts, otherwise they act like log_debug with the specified level. Those who are not interested in conditional logging are not affected: they can continue using plain old logging macros without any changes. Signed-off-by: Sergey Myasnikov <tigra564@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4161 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This is the SCST development repository. It contains not a single project SCST as one can think, but a number of them, which are divided as the following: 1. SCST core in scst/ subdirectory 2. Administration utility for SCST core scstadmin in scstadmin/ 3. Target drivers in own subdirectories qla2x00t/, iscsi-scst/, etc. 4. User space programs in usr/ subdirectory, like fileio_tgt. 5. Some various docs in doc/ subdirectory. Those subprojects are in most cases independent from each other, although some of them depend from the SCST core. They put in the single repository only to simplify their development, they are released independently. Thus, use "make all" only if you really need to build everything. Otherwise build only what you need, like for iSCSI-SCST: make scst scst_install iscsi iscsi_install For more information about each subproject see their README files. Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
Description
Languages
C
90.1%
Perl
4.2%
Shell
1.8%
HTML
1.7%
Makefile
1.2%
Other
0.9%