Avi Kivity
a55b434a2b
treewide: extent copyright statements to present day
2021-06-06 19:18:49 +03:00
Avi Kivity
7c953f33d5
utils: disk-error-handler: replace enable_if with concepts
...
Simpler, cleaner. We also replace the deprecated std::result_of_t
with std::invoke_result_t.
Closes #8305
2021-03-30 09:29:46 +02:00
Benny Halevy
e33fc10638
utils: do_io_check: adjust indentation
...
was broken by the previous patch.
Signed-off-by: Benny Halevy <bhalevy@scylladb.com >
2020-08-06 19:01:18 +03:00
Benny Halevy
fd5b2672c1
utils: io_check: make noexcept for future-returning functions
...
Use futurize_apply to handle any exception the passed function
may throw.
Signed-off-by: Benny Halevy <bhalevy@scylladb.com >
2020-08-06 19:01:17 +03:00
Pavel Emelyanov
d1775dd701
utils: Move disk-error-handler into it
...
The disk-error-handler is purely auxiliary thing that helps
propagating IO errors to the rest of the code. It well
deserves not sitting in the root namespace.
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
Message-Id: <20200207112443.18475-1-xemul@scylladb.com >
2020-02-09 17:26:52 +02:00