Replace comparision of qos_ptr->usage_thres == X with
fizzy_equal(qos_ptr->usage_thres, X). This deals with imprecision in storage for a double, especially with respect to un/pack across machine architectures.
Showing
- src/common/assoc_mgr.c 1 addition, 1 deletionsrc/common/assoc_mgr.c
- src/common/macros.h 6 additions, 0 deletionssrc/common/macros.h
- src/plugins/accounting_storage/mysql/accounting_storage_mysql.h 1 addition, 0 deletions...ugins/accounting_storage/mysql/accounting_storage_mysql.h
- src/plugins/accounting_storage/mysql/as_mysql_qos.c 2 additions, 2 deletionssrc/plugins/accounting_storage/mysql/as_mysql_qos.c
- src/slurmctld/job_mgr.c 1 addition, 1 deletionsrc/slurmctld/job_mgr.c
- src/slurmctld/node_scheduler.c 1 addition, 1 deletionsrc/slurmctld/node_scheduler.c
Loading
Please register or sign in to comment