mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::fs: Switch to syscall_usage_warning for io_submit and fsync et al.
This commit is contained in:
parent
d8bf5b9fff
commit
ce9a9e58b4
2 changed files with 4 additions and 4 deletions
|
@ -387,7 +387,7 @@ ircd::fs::sync(const fd &fd,
|
|||
const sync_opts &opts)
|
||||
{
|
||||
assert(opts.op == op::SYNC);
|
||||
const ctx::slice_usage_warning message
|
||||
const ctx::syscall_usage_warning message
|
||||
{
|
||||
"fs::sync(fd:%d)", int(fd)
|
||||
};
|
||||
|
@ -413,7 +413,7 @@ ircd::fs::flush(const fd &fd,
|
|||
const sync_opts &opts)
|
||||
{
|
||||
assert(opts.op == op::SYNC);
|
||||
const ctx::slice_usage_warning message
|
||||
const ctx::syscall_usage_warning message
|
||||
{
|
||||
"fs::flush(fd:%d, {metadata:%b aio:%b:%b})",
|
||||
int(fd),
|
||||
|
@ -1367,7 +1367,7 @@ ircd::fs::fd::fd(const string_view &path,
|
|||
:fdno{[&path, &opts]
|
||||
() -> int
|
||||
{
|
||||
const ctx::slice_usage_warning message
|
||||
const ctx::syscall_usage_warning message
|
||||
{
|
||||
"fs::fs::fd(): open(2): %s", path
|
||||
};
|
||||
|
|
|
@ -786,7 +786,7 @@ size_t
|
|||
ircd::fs::aio::system::io_submit()
|
||||
try
|
||||
{
|
||||
const ctx::slice_usage_warning message
|
||||
const ctx::syscall_usage_warning message
|
||||
{
|
||||
"fs::aio::system::submit(in_flight:%zu qcount:%zu)",
|
||||
in_flight,
|
||||
|
|
Loading…
Reference in a new issue