0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00

ircd::fs: Minor cleanup.

This commit is contained in:
Jason Volk 2020-05-20 17:56:02 -07:00
parent 875b8a01f1
commit 82485b9aa9
2 changed files with 10 additions and 12 deletions

View file

@ -52,6 +52,7 @@ struct ircd::fs::fd
~fd() noexcept; ~fd() noexcept;
}; };
/// Descriptor options (open options)
struct ircd::fs::fd::opts struct ircd::fs::fd::opts
{ {
static conf::item<bool> direct_io_enable; static conf::item<bool> direct_io_enable;

View file

@ -27,23 +27,20 @@
// TODO: prevents use until io_uring support implemented // TODO: prevents use until io_uring support implemented
#undef IRCD_USE_IOU #undef IRCD_USE_IOU
namespace ircd::fs
{
extern conf::item<ulong> rlimit_nofile;
static void update_rlimit_nofile();
static void init_dump_info();
}
decltype(ircd::fs::log) decltype(ircd::fs::log)
ircd::fs::log ircd::fs::log
{ {
"fs" "fs"
}; };
//
// init
//
namespace ircd::fs
{
extern conf::item<ulong> rlimit_nofile;
static void update_rlimit_nofile();
static void init_dump_info();
}
decltype(ircd::fs::rlimit_nofile) decltype(ircd::fs::rlimit_nofile)
ircd::fs::rlimit_nofile ircd::fs::rlimit_nofile
{ {