Jason Volk
|
2f36fec41a
|
ircd::fs: Cleanup the duplicate support state indicators.
|
2018-12-21 12:09:44 -08:00 |
|
Jason Volk
|
152060da36
|
ircd::fs: Create iov on the stack rather than with tls.
|
2018-12-21 10:28:51 -08:00 |
|
Jason Volk
|
b4910319e0
|
ircd: Add various comments / documentations.
|
2018-12-19 12:35:21 -08:00 |
|
Jason Volk
|
582628fb71
|
ircd::fs: Add read/write options to restart operation on EINTR.
|
2018-12-18 14:44:25 -08:00 |
|
Jason Volk
|
254d5ccb50
|
ircd::fs: Add 'all' write option with internal loop.
|
2018-12-18 14:44:25 -08:00 |
|
Jason Volk
|
bb3a68a95e
|
ircd::fs: Handle partial reads internally with 'all' option.
|
2018-12-18 14:44:25 -08:00 |
|
Jason Volk
|
c3cf4c02dd
|
ircd::fs: Use posix iov in AIO interface arguments.
|
2018-12-18 14:21:09 -08:00 |
|
Jason Volk
|
77a84b18d3
|
ircd::fs: Add offset to make_iov() suite.
|
2018-12-18 14:21:09 -08:00 |
|
Jason Volk
|
81ca6fecf4
|
ircd::fs: Add slice usage warning reasons; simplify conditional logic.
|
2018-12-17 16:20:54 -08:00 |
|
Jason Volk
|
a2a66eb314
|
ircd::fs: Deinline various error ctor; simplify various error handling.
|
2018-12-15 20:50:32 -08:00 |
|
Jason Volk
|
2cc7831770
|
ircd::fs: Add option to bypass AIO for specific operations.
|
2018-12-15 18:17:59 -08:00 |
|
Jason Volk
|
c4d5f03725
|
ircd::fs: Add compat interface for range flush()/sync().
|
2018-12-13 18:04:48 -08:00 |
|
Jason Volk
|
5e8d5562da
|
ircd::fs: Simplify interface.
|
2018-12-13 17:46:08 -08:00 |
|
Jason Volk
|
9d423f84d8
|
ircd:;fs: Rename various fsync/sync related.
|
2018-12-13 16:54:09 -08:00 |
|
Jason Volk
|
b80735c575
|
ircd::fs: Add sync()/syncfs().
|
2018-12-12 13:16:47 -08:00 |
|
Jason Volk
|
c156266bd8
|
ircd::fs: Simplify error handling.
|
2018-12-12 13:16:47 -08:00 |
|
Jason Volk
|
638a629151
|
ircd::fs: Translate boost to std for exceptions out of stdin::readline.
|
2018-12-11 14:32:51 -08:00 |
|
Jason Volk
|
45bf911952
|
ircd::conf: Add feature to toggle whether conf item is persisted in a db.
|
2018-12-08 16:27:32 -08:00 |
|
Jason Volk
|
313bffffc2
|
ircd::fs: Add path to error message thrown from ls() et al.
|
2018-12-08 15:50:08 -08:00 |
|
Jason Volk
|
1ba22a21ba
|
ircd: Disperse accumulated global options as conf items in namespaces.
|
2018-12-08 15:36:34 -08:00 |
|
Jason Volk
|
24e423c714
|
ircd::fs: Add support test for fallocate().
|
2018-12-03 12:58:42 -08:00 |
|
Jason Volk
|
47d6fbb35f
|
ircd::fs: Consolidate support tests and indications into namespace.
|
2018-12-03 12:55:52 -08:00 |
|
Jason Volk
|
711dfacd9a
|
ircd::fs: Improve strategy for AIO fsync/fdsync related.
|
2018-12-01 16:10:53 -08:00 |
|
Jason Volk
|
ca525b081f
|
ircd: Add noaio global flag; add command line option.
|
2018-12-01 15:55:53 -08:00 |
|
Jason Volk
|
965ecd16e5
|
ircd::fs: Break apart / improve make_iov() related stack / cleanup typedefs.
|
2018-12-01 15:46:38 -08:00 |
|
Jason Volk
|
2dc36775a8
|
ircd::fs: Check IOV_MAX limits for make_iov().
|
2018-12-01 15:21:06 -08:00 |
|
Jason Volk
|
58d80ddc53
|
ircd::fs: Add option to toggle AIO for fsync related.
|
2018-11-29 10:18:43 -08:00 |
|
Jason Volk
|
44bf18d4df
|
ircd::fs: Integrate read(iov) suite.
|
2018-11-28 17:26:25 -08:00 |
|
Jason Volk
|
466ad228b0
|
ircd::fs: Integrate an overwrite() iov suite.
|
2018-11-28 17:26:06 -08:00 |
|
Jason Volk
|
20fe537409
|
ircd::fs: Integrate append() iov suite.
|
2018-11-28 17:21:28 -08:00 |
|
Jason Volk
|
db36ea6255
|
ircd::fs: fs::write() stack based on pwritev() using iov.
|
2018-11-28 17:10:48 -08:00 |
|
Jason Volk
|
c9b10bd841
|
ircd::fs: Use better typedefs for vector_view of buffers.
|
2018-11-28 17:10:17 -08:00 |
|
Jason Volk
|
eff4c475e3
|
ircd::fs: Add iov util header; make aio interface to fs exclusively iov.
|
2018-11-28 16:53:04 -08:00 |
|
Jason Volk
|
5cdd2e6376
|
ircd::fs::aio: Add statistics for AIO subsystem w/ console cmd.
|
2018-11-27 19:54:24 -08:00 |
|
Jason Volk
|
062906143f
|
ircd::fs: Add an fs/aio.h header. Reorg various aio namespace related.
|
2018-11-27 18:09:12 -08:00 |
|
Jason Volk
|
36bb0d3175
|
ircd: Integrate all boost::system::system_error with stdlib.
|
2018-11-08 23:05:11 -08:00 |
|
Jason Volk
|
94bfe39ec6
|
ircd::fs: Save the std openmode in the fd::opts struct.
|
2018-11-01 23:35:52 -07:00 |
|
Jason Volk
|
e540ad1412
|
ircd::fs: Better results for read buffer alignments.
|
2018-10-18 09:44:34 -07:00 |
|
Jason Volk
|
4c95b39ce5
|
configure: Add missing sys/stat.h sys/statvfs.h header checks.
|
2018-10-18 09:28:01 -07:00 |
|
Jason Volk
|
02f64c7f34
|
ircd: Add ios unit to provide a more central control point for asio.
|
2018-10-17 05:12:10 -07:00 |
|
Jason Volk
|
8900c7d95e
|
Add datadir (share) configure, Makefile and ircd::fs related.
|
2018-09-13 22:02:52 -07:00 |
|
Jason Volk
|
09529ae311
|
ircd: Fix std::ios::openmode name.
|
2018-09-13 05:12:01 -07:00 |
|
Jason Volk
|
3426fc650f
|
ircd::fs: Test if O_DIRECT possible on path target.
|
2018-09-04 01:43:21 -07:00 |
|
Jason Volk
|
107e4b59af
|
ircd::fs: Use the gnu_dev_*() suite rather than sys/types macros.
|
2018-09-01 23:51:54 -07:00 |
|
Jason Volk
|
5dd9b7a3cf
|
ircd::fs: Support for finding the O_DIRECT alignments from system.
|
2018-08-28 20:15:40 -07:00 |
|
Jason Volk
|
5825b21231
|
ircd::fs: Disable fsync()/fdatasync() via AIO for now.
|
2018-08-24 00:40:35 -07:00 |
|
Jason Volk
|
e0024b82ea
|
ircd::fs: Use fallocate() rather than posix_fallocate(); add keep_size.
|
2018-08-23 23:08:41 -07:00 |
|
Jason Volk
|
f666728d37
|
ircd::fs: Add assertion; minor.
|
2018-08-23 23:08:41 -07:00 |
|
Jason Volk
|
e3827124e9
|
ircd::fs: Use lseek() for size(fd) overload.
|
2018-08-23 23:08:22 -07:00 |
|
Jason Volk
|
79d4c15ff5
|
ircd::fs: Deinline and improve append() related.
|
2018-08-23 23:08:22 -07:00 |
|