0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::fs: Integrate fd::opts extending fs::opts.

This commit is contained in:
Jason Volk 2020-05-24 14:31:29 -07:00
parent ba3f3fc09a
commit 2f51b01008

View file

@ -55,6 +55,7 @@ struct ircd::fs::fd
/// Descriptor options (open options)
struct ircd::fs::fd::opts
:fs::opts
{
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.
bool nocreate {false};
/// (O_NONBLOCK) Non-blocking behavior.
bool blocking {true};
/// Advise for random access (ignored when direct=true)
bool random {false};