openafs/doc/man-pages/pod8
Andrew Deason eb5190eb4a Make ihandle sync behavior runtime-configurable
The actual behavior of FDH_SYNC has changed a bit over the years, and
some people want one behavior, and some want another. Make it possible
to make this choice at runtime with the new -sync option, instead of
making this decision by running with different patches.

Note that FDH_SYNC is not a macro anymore, nor is it an inline
function. While it could be a macro, it would look a bit complex, and
there are some oddities with trying to use vol_io_params inside the
FDH_SYNC expansion (vol_io_params is not declared for LWP, for
example). And having it be an inline function causes problems with
some odd linking dependencies. For example, vlib.a contains volume.o,
but does not contain a definition for DFlushVolume (dir/buffer.c),
which is referenced in volume.o.  'vos' uses vlib.a, but does not
bring in anything that defines DFlushVolume. Currently this appears to
not cause a problem because 'vos' uses nothing from volume.o, so the
dependencies of volume.o don't matter. Adding an inline FDH_SYNC for
platforms that don't support 'static inline' would add a dependency to
volume.o (via vol_io_params), which causes an error for the lack of a
DFlushVolume.

Those are possibly just some problems, and may not be all. So instead,
make it so we don't have to deal with that and just have a normal
function. While FDH_SYNC may be called in a performance-critical
section, the overhead of a real function call is nowhere near the
delay of an actual fsync(), so presumably any overhead doesn't matter.

Change-Id: I23620bd8ac31b9019e9d55cb46ec9f3a75f5675c
Reviewed-on: http://gerrit.openafs.org/9694
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
2013-04-17 07:06:54 -07:00
..
fragments Make ihandle sync behavior runtime-configurable 2013-04-17 07:06:54 -07:00
.gitignore document dasalvager 2010-07-18 09:46:48 -07:00
afsd.pod doc: dynamic mount requires dynroot and fakestat 2013-01-10 10:33:59 -08:00
aklog_dynamic_auth.pod doc: Add aklog_dynamic_auth manpage 2011-05-15 06:15:43 -07:00
asetkey.pod doc: typo fix in asetkey man page example 2009-08-28 11:30:49 -07:00
backup_adddump.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_addhost.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_addvolentry.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_addvolset.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_apropos.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_dbverify.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_deldump.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_deletedump.pod Update backup suite manpages 2009-10-08 15:40:35 -07:00
backup_delhost.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_delvolentry.pod Update backup suite manpages 2009-10-08 15:40:35 -07:00
backup_delvolset.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_diskrestore.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_dump.pod Remove references to IBM AFS 2010-05-26 12:05:45 -07:00
backup_dumpinfo.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_help.pod Update backup suite manpages 2009-10-08 15:40:35 -07:00
backup_interactive.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_jobs.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_kill.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
backup_labeltape.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
backup_listdumps.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_listhosts.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_listvolsets.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_quit.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
backup_readlabel.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_restoredb.pod Remove references to IBM AFS 2010-05-26 12:05:45 -07:00
backup_savedb.pod Update backup suite manpages 2009-10-08 15:40:35 -07:00
backup_scantape.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_setexp.pod Update backup suite manpages 2009-10-08 15:40:35 -07:00
backup_status.pod Update backup suite manpages 2009-10-08 15:40:35 -07:00
backup_volinfo.pod Update backup suite manpages 2009-10-08 15:40:35 -07:00
backup_volrestore.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup_volsetrestore.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
backup.pod Remove references to IBM AFS 2010-05-26 12:05:45 -07:00
bos_addhost.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_addkey.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_adduser.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_apropos.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
bos_create.pod doc: remove references to AFS's NTP daemon 2012-03-20 20:59:27 -07:00
bos_delete.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_exec.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_getdate.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_getlog.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_getrestart.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_getrestricted.pod Turn on bos restricted code 2009-12-31 04:54:52 -08:00
bos_help.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
bos_install.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_listhosts.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_listkeys.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_listusers.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_prune.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_removehost.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_removekey.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_removeuser.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_restart.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_salvage.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_setauth.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_setcellname.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_setrestart.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_setrestricted.pod fix some typos in bos_setrestricted 2013-02-01 14:29:24 -08:00
bos_shutdown.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_start.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_startup.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_status.pod doc: remove references to AFS's NTP daemon 2012-03-20 20:59:27 -07:00
bos_stop.pod doc: remove references to AFS's NTP daemon 2012-03-20 20:59:27 -07:00
bos_uninstall.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bos_util.pod spelling/grammar fixes for manpages 2011-02-03 12:29:34 -08:00
bos.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
bosserver.pod bozo: bosserver man page updates 2011-10-10 06:09:10 -07:00
buserver.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
butc.pod Remove references to IBM AFS 2010-05-26 12:05:45 -07:00
dafileserver.pod.in doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
dasalvager.pod.in document dasalvager 2010-07-18 09:46:48 -07:00
davolserver.pod.in doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
fileserver.pod.in doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
fms.pod Remove references to IBM AFS 2010-05-26 12:05:45 -07:00
fssync-debug_attach.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_callback.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_detach.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_error.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_header.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_leaveoff.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_list.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_mode.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_move.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_offline.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_online.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_query.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_stats.pod Provide manpage for fssync-debug and most subcmds 2010-06-23 13:34:19 -07:00
fssync-debug_vgcadd.pod Provide man pages for more fssync-debug commands 2010-07-12 11:53:41 -07:00
fssync-debug_vgcdel.pod Provide man pages for more fssync-debug commands 2010-07-12 11:53:41 -07:00
fssync-debug_vgcquery.pod Provide man pages for more fssync-debug commands 2010-07-12 11:53:41 -07:00
fssync-debug_vgcscan.pod Provide man pages for more fssync-debug commands 2010-07-12 11:53:41 -07:00
fssync-debug_vgcscanall.pod Provide man pages for more fssync-debug commands 2010-07-12 11:53:41 -07:00
fssync-debug_vnode.pod Provide man pages for more fssync-debug commands 2010-07-12 11:53:41 -07:00
fssync-debug_volop.pod Provide man pages for more fssync-debug commands 2010-07-12 11:53:41 -07:00
fssync-debug.pod Link dafssync-debug(8) to fssync-debug(8) 2010-09-23 02:22:44 -07:00
fstrace_apropos.pod Update fstrace suite manpages 2009-10-08 15:28:56 -07:00
fstrace_clear.pod Update fstrace suite manpages 2009-10-08 15:28:56 -07:00
fstrace_dump.pod Update fstrace suite manpages 2009-10-08 15:28:56 -07:00
fstrace_help.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
fstrace_lslog.pod Update fstrace suite manpages 2009-10-08 15:28:56 -07:00
fstrace_lsset.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
fstrace_setlog.pod Update fstrace suite manpages 2009-10-08 15:28:56 -07:00
fstrace_setset.pod Update fstrace suite manpages 2009-10-08 15:28:56 -07:00
fstrace.pod Remove references to IBM AFS 2010-05-26 12:05:45 -07:00
ka-forwarder.pod spelling/grammar fixes for manpages 2011-02-03 12:29:34 -08:00
kadb_check.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
kas_apropos.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_create.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_delete.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_examine.pod spelling/grammar fixes for manpages 2011-02-03 12:29:34 -08:00
kas_forgetticket.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_help.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_interactive.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
kas_list.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_listtickets.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
kas_noauthentication.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_quit.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas_setfields.pod spelling/grammar fixes for manpages 2011-02-03 12:29:34 -08:00
kas_setpassword.pod Remove references to IBM AFS 2010-05-26 12:05:45 -07:00
kas_statistics.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
kas_stringtokey.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
kas_unlock.pod man-page-name-underscore-20071111 2007-11-11 22:54:56 +00:00
kas.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
kaserver.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
kdb.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
kpwvalid.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
prdb_check.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
pt_util.pod DOC: pt_util now outputs ntohl'd epoch and version 2011-03-13 13:38:27 -07:00
ptserver.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
read_tape.pod Move restorevol to bin from sbin 2009-09-09 21:22:34 -07:00
rmtsysd.pod man-page-rmtsysd-20090518 2009-05-18 21:22:04 +00:00
salvager.pod.in document dasalvager 2010-07-18 09:46:48 -07:00
salvageserver.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
state_analyzer.pod Minor state_analyzer manpage corrections 2010-03-29 08:04:42 -07:00
upclient.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
upserver.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
uss_add.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
uss_apropos.pod More deprecations noted. 2010-11-27 22:40:07 -08:00
uss_bulk.pod More deprecations noted. 2010-11-27 22:40:07 -08:00
uss_delete.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
uss_help.pod More deprecations noted. 2010-11-27 22:40:07 -08:00
uss.pod More deprecations noted. 2010-11-27 22:40:07 -08:00
vldb_check.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
vldb_convert.pod man-page-vldb_convert-20080626 2008-06-27 04:29:12 +00:00
vlserver.pod doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
voldump.pod Move restorevol to bin from sbin 2009-09-09 21:22:34 -07:00
volinfo.pod doc: fix some broken link specifications 2011-06-22 11:01:09 -07:00
volserver.pod.in doc: replace hostnames with IETF example hostnames 2012-02-17 20:51:58 -08:00
vsys.pod man-page-vsys-20090518 2009-05-18 21:28:26 +00:00
xfs_size_check.pod pretty-html-synopsis-20060228 2006-03-01 05:02:29 +00:00