fix perf compilation when linux and glibc > 2.17
This commit is contained in:
@ -9,6 +9,11 @@
|
||||
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
||||
* See the Mulan PubL v2 for more details.
|
||||
*/
|
||||
|
||||
#include <linux/falloc.h> // FALLOC_FL_ZERO_RANGE for linux kernel 3.15
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include "log_io_utils.h"
|
||||
#include "logservice/ob_server_log_block_mgr.h"
|
||||
|
||||
|
||||
@ -13,6 +13,8 @@
|
||||
#include "ob_local_device.h"
|
||||
#include <sys/vfs.h>
|
||||
#include <sys/statvfs.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/falloc.h>
|
||||
#include "share/ob_resource_limit.h"
|
||||
#include "storage/slog/ob_storage_logger_manager.h"
|
||||
#include "lib/ash/ob_active_session_guard.h"
|
||||
|
||||
Reference in New Issue
Block a user