Stefan Eßer
2919c53c63
Remove O_SYNC from the options passed to dbmopen().
...
The output file is created as a temporary file that is moved over the
existing file after completion. Thus there is no need to immediately
flush all created db records to the temporary file.
This speeds up creation of the termcap db by a factor of 40 on my
ZFS based /etc filesytem (from 25 seconds to 0.6 seconds).
I have compared multiple output files created with and without O_SYNC
and they came out identical each time. Nonetheless it might be best
to MFC this change and the similar one for services_mkdb (r295465) at
the same time when the changes to hash.c in review D5186 are merged.
MFC: 1 week
2016-02-19 08:42:13 +00:00
..
2015-06-16 23:37:19 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-10-29 19:28:21 +00:00
2015-06-13 19:20:56 +00:00
2015-08-25 05:31:00 +00:00
2015-06-13 19:20:56 +00:00
2015-11-25 19:44:43 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-11-24 04:15:13 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 05:18:48 +00:00
2016-02-16 02:13:59 +00:00
2015-07-31 16:45:42 +00:00
2015-11-03 17:27:24 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-07-13 14:13:15 +00:00
2015-12-04 03:17:47 +00:00
2016-02-16 10:33:45 +00:00
2016-02-19 08:42:13 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-02-19 00:41:38 +00:00
2015-10-12 08:16:03 +00:00
2015-10-12 08:16:03 +00:00
2015-06-13 19:20:56 +00:00
2015-11-21 10:52:32 +00:00
2015-06-13 19:20:56 +00:00
2015-12-29 11:24:41 +00:00
2015-10-12 08:16:03 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 22:20:04 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-09-21 09:37:49 +00:00
2015-10-12 08:16:03 +00:00
2015-11-25 19:44:51 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2016-01-27 00:03:43 +00:00
2015-12-01 05:23:19 +00:00
2015-12-29 16:29:42 +00:00
2015-06-13 19:20:56 +00:00
2015-06-16 23:37:19 +00:00
2015-06-13 19:20:56 +00:00
2016-02-16 02:14:30 +00:00
2016-01-25 04:22:01 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-04 03:17:47 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-08-05 21:33:30 +00:00
2016-01-18 20:47:04 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-11-19 00:01:52 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-19 21:06:30 +00:00
2015-06-13 19:20:56 +00:00
2015-08-01 17:27:47 +00:00
2015-06-13 19:20:56 +00:00
2015-12-04 03:17:47 +00:00
2015-10-12 08:16:03 +00:00
2015-10-27 21:26:05 +00:00
2015-06-13 19:20:56 +00:00
2016-02-14 14:23:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 05:23:19 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 05:23:19 +00:00
2015-10-21 05:37:09 +00:00
2015-12-01 05:18:48 +00:00
2015-12-01 05:18:48 +00:00
2016-01-18 20:21:38 +00:00
2015-10-12 08:16:03 +00:00
2015-10-12 08:16:03 +00:00
2016-02-16 02:14:30 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 05:18:48 +00:00
2015-06-13 19:20:56 +00:00
2015-07-21 10:52:05 +00:00
2015-10-12 08:16:03 +00:00
2016-01-24 15:15:57 +00:00
2015-06-13 19:20:56 +00:00
2016-01-15 23:13:01 +00:00
2015-06-16 23:37:19 +00:00
2015-06-16 23:37:19 +00:00
2015-12-01 05:23:19 +00:00
2015-11-09 01:05:31 +00:00
2015-10-21 05:37:09 +00:00
2015-11-25 19:13:28 +00:00
2015-12-29 11:24:41 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-09-10 22:25:40 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-21 05:37:09 +00:00
2015-08-14 22:54:52 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-01-18 22:12:07 +00:00
2016-02-16 21:39:19 +00:00
2016-02-18 00:26:21 +00:00
2015-09-19 16:00:50 +00:00
2016-01-15 23:28:12 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-11-24 02:30:59 +00:00
2015-12-01 05:23:19 +00:00
2015-09-25 19:26:08 +00:00
2015-10-24 05:16:30 +00:00
2015-12-01 05:23:19 +00:00
2015-06-14 03:34:09 +00:00
2015-06-13 19:20:56 +00:00
2015-12-11 05:39:42 +00:00
2015-11-20 23:15:05 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-02 10:08:11 +00:00
2015-06-13 19:20:56 +00:00
2015-10-21 05:37:09 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2016-02-02 05:57:59 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-01-07 19:58:23 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-16 23:37:19 +00:00
2015-06-13 19:20:56 +00:00
2016-01-14 01:34:41 +00:00
2015-10-02 10:08:11 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-09-25 19:44:01 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 05:23:19 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-04 03:17:47 +00:00
2015-10-21 05:37:09 +00:00
2015-12-04 03:17:47 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-09-17 05:06:34 +00:00
2015-12-01 05:23:19 +00:00
2015-07-07 20:15:09 +00:00
2015-10-02 10:08:11 +00:00
2015-12-01 19:37:24 +00:00
2015-11-25 19:48:09 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-08-26 11:54:40 +00:00
2015-10-21 05:37:09 +00:00
2015-12-01 05:23:19 +00:00
2015-06-13 19:20:56 +00:00
2015-09-25 19:44:01 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-16 23:37:19 +00:00
2015-12-01 05:23:19 +00:00
2015-10-21 05:37:09 +00:00
2015-12-01 05:23:19 +00:00
2015-10-24 13:43:10 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-16 23:37:19 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 05:23:19 +00:00
2016-01-27 00:45:46 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 22:20:04 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-08-31 06:11:39 +00:00
2015-06-13 19:20:56 +00:00
2015-10-24 13:47:03 +00:00
2015-09-18 21:01:52 +00:00
2016-02-09 18:35:37 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-01-19 22:07:39 +00:00
2016-02-16 22:13:25 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-03 14:32:54 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-06-13 19:20:56 +00:00
2016-01-15 23:04:36 +00:00
2015-09-28 07:23:05 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-10-12 08:16:03 +00:00
2015-11-25 19:44:43 +00:00
2015-12-04 05:00:51 +00:00
2015-12-01 05:23:19 +00:00
2015-06-13 19:20:56 +00:00
2015-12-23 07:28:48 +00:00
2015-09-01 01:35:43 +00:00
2015-12-01 19:18:53 +00:00
2015-08-04 02:56:31 +00:00
2015-12-01 19:18:53 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-01-23 01:20:58 +00:00
2015-06-13 19:20:56 +00:00
2015-12-29 11:24:41 +00:00
2015-11-25 19:44:55 +00:00
2016-01-22 16:32:22 +00:00
2015-12-07 16:08:13 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-12 08:16:03 +00:00
2015-06-13 19:20:56 +00:00
2015-09-03 07:18:52 +00:00
2015-09-03 07:18:52 +00:00
2015-09-03 07:18:52 +00:00
2016-01-25 16:49:39 +00:00
2013-06-28 21:00:08 +00:00
2013-03-07 23:44:35 +00:00
2013-06-28 21:00:08 +00:00
2013-06-28 21:00:08 +00:00
2013-06-28 21:00:08 +00:00