annotate src/s/irix5-2.h @ 4499:eb82259f265d
Port write-region-inhibit-sync, allowing avoidance of bad FS performance.
See http://shaver.off.net/diary/2008/05/25/fsyncers-and-curveballs/ for more
details.
2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change,
which can allow much better performace with some stupid
filesystems:
* fileio.c (write_region_inhibit_fsync): New variable.
(Fwrite_region): Use it to skip call to fsync.
(syms_of_fileio): Initialize it.
author |
Aidan Kehoe <kehoea@parhasard.net> |
date |
Sat, 09 Aug 2008 16:44:46 +0200 |
parents |
376386a54a3c |
children |
|
rev |
line source |
0
|
1 /* Synched up with: FSF 19.31. */
|
|
2
|
|
3 #include "irix5-1.h"
|
|
4
|
|
5 /* as of version 5.2, irix no longer uses flock,
|
|
6 according to jackr@wpd.sgi.com. */
|
|
7 #undef MAIL_USE_FLOCK
|
|
8
|
|
9 #if 0 /* XEmacs is smarter about dealing with C-g in select */
|
|
10 /* C-g in select is not handled properly with restartable
|
|
11 system calls. So don't use them. */
|
|
12 #undef SA_RESTART
|
|
13 #endif /* 0 */
|
|
14
|
|
15 /* schoepf@goofy.zdv.Uni-Mainz.de reports he needed -lw with X11R6
|
|
16 on Irix 5.3. I don't know which Irix version that need starts with. */
|
|
17 #define NEED_LIBW
|