mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::fs: Integrate fd::opts extending fs::opts.
This commit is contained in:
parent
ba3f3fc09a
commit
2f51b01008
1 changed files with 1 additions and 3 deletions
|
@ -55,6 +55,7 @@ struct ircd::fs::fd
|
||||||
|
|
||||||
/// Descriptor options (open options)
|
/// Descriptor options (open options)
|
||||||
struct ircd::fs::fd::opts
|
struct ircd::fs::fd::opts
|
||||||
|
:fs::opts
|
||||||
{
|
{
|
||||||
static conf::item<bool> direct_io_enable;
|
static conf::item<bool> direct_io_enable;
|
||||||
|
|
||||||
|
@ -80,9 +81,6 @@ struct ircd::fs::fd::opts
|
||||||
/// any implied O_CREAT from the open_mode ctor and in flags too.
|
/// any implied O_CREAT from the open_mode ctor and in flags too.
|
||||||
bool nocreate {false};
|
bool nocreate {false};
|
||||||
|
|
||||||
/// (O_NONBLOCK) Non-blocking behavior.
|
|
||||||
bool blocking {true};
|
|
||||||
|
|
||||||
/// Advise for random access (ignored when direct=true)
|
/// Advise for random access (ignored when direct=true)
|
||||||
bool random {false};
|
bool random {false};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue