Fix ambiguous symbol version for fuse_chan_new
[fuse.git] / ChangeLog
blob075a57041cef313a99be100f1cf18a759b7d4b8f
1 2010-09-28  Miklos Szeredi <miklos@szeredi.hu>
3         * Fix option escaping for fusermount.  If the "fsname=" option
4         contained a comma then the option parser in fusermount was
5         confused (Novell bugzilla #641480).  Fix by escaping commas when
6         passing them over to fusermount.  Reported by Jan Engelhardt
8 2010-08-27  Miklos Szeredi <miklos@szeredi.hu>
10         * Add NetBSD support.  Patch from Emmanuel Dreyfus
12 2010-07-12  Miklos Szeredi <miklos@szeredi.hu>
14         * libfuse: add buffer interface.  Add a generic buffer interface
15         for use with I/O.  Buffer vectors are supplied and each buffer in
16         the vector may be a memory pointer or a file descriptor.
18         * The fuse_reply_fd() interface is converted to using buffers.
20 2010-06-23  Miklos Szeredi <miklos@szeredi.hu>
22         * Make the number of max background requests and congestion
23         threshold tunable.  New options are "max_background" and
24         "congestion_threshold".  Only effective on linux kernel versions
25         2.6.32 or greater.  Patch by Csaba Henk
27 2010-06-17  Miklos Szeredi <miklos@szeredi.hu>
29         * Add fuse_reply_fd() reply function to the low level interface.
30         On linux version 2.6.35 or greater this will use splice() to move
31         data directly from a file descriptor to the fuse device without
32         needing to go though a userspace buffer.  With the
33         FUSE_REPLY_FD_MOVE flag the kernel will attempt to move the data
34         directly into the filesystem's cache.  On earlier kernels it will
35         fall back to an intermediate buffer.  The options
36         "no_splice_write" and "no_splice_move" can be used to disable
37         splicing and moving respectively.
39 2010-06-15  Miklos Szeredi <miklos@szeredi.hu>
41         * Fix out-of-source build.  Patch by Jörg Faschingbauer
43         * Add a "nopath" option and flag, indicating that path argument
44         need not be calculated for the following operations: read, write,
45         flush, release, fsync, readdir, releasedir, fsyncdir, ftruncate,
46         fgetattr, lock, ioctl and poll.
48 2010-05-10  Miklos Szeredi <miklos@szeredi.hu>
50         * Remove "chmod root" from install of fusermount.  Reported by
51         Lucas C. Villa Real
53 2010-04-26  Miklos Szeredi <miklos@szeredi.hu>
55         * Released 2.8.4
57 2010-04-26  Miklos Szeredi <miklos@szeredi.hu>
59         * Fix checking for symlinks in umount from /tmp.  Reported by Al
60         Viro
62         * Fix umounting if /tmp is a symlink.  Reported by Franco Broi
64 2010-02-18  Miklos Szeredi <miklos@szeredi.hu>
66         * Fix definition of FUSE_OPT_END for C++.  Reported by Tim
67         Bruylants
69 2010-02-03  Miklos Szeredi <miklos@szeredi.hu>
71         * Fix stack alignment for clone()
73 2010-02-01  Miklos Szeredi <miklos@szeredi.hu>
75         * Released 2.8.3
77 2010-02-01  Miklos Szeredi <miklos@szeredi.hu>
79         * Using "--no-canonicalize" with umount(8) conflicts with the race
80         fix, sinceit assumes the supplied path is absolute, while the race
81         fix relies on the path being relative to the current directory.
82         Reported by Tom Rindborg
84 2010-01-26  Miklos Szeredi <miklos@szeredi.hu>
86         * Released 2.8.2
88 2010-01-21  Miklos Szeredi <miklos@szeredi.hu>
90         * Fix race if two "fusermount -u" instances are run in parallel.
91         Reported by Dan Rosenberg
93         * Make sure that the path to be unmounted doesn't refer to a
94         symlink
96 2010-01-14  Miklos Szeredi <miklos@szeredi.hu>
98         * Fix compile error on FreeBSD.  Patch by Jay Sullivan
100 2009-12-17  Miklos Szeredi <miklos@szeredi.hu>
102         * Use '--no-canonicalize' option of mount(8) (available in
103         util-linux-ng version 2.17 or greater) to avoid calling
104         readling(2) on the newly mounted filesystem before the mount
105         procedure is finished.  This has caused a deadlock if "audit" was
106         enabled in the kernel.  Also use '--no-canonicalize' for umount to
107         avoid touching the mounted filesystem.
109 2009-09-11  Miklos Szeredi <miklos@szeredi.hu>
111         * Released 2.8.1
113 2009-08-25  Miklos Szeredi <miklos@szeredi.hu>
115         * Fix missing versioned symbol fuse_get_context@FUSE_2.2
117 2009-08-18  Miklos Szeredi <miklos@szeredi.hu>
119         * Released 2.8.0
121 2009-08-18  Miklos Szeredi <miklos@szeredi.hu>
123         * Add missing fuse_session_data to versionscript
125         * Make sure all global symbols are prefixed with "fuse_" or "cuse_"
127 2009-07-16  Miklos Szeredi <miklos@szeredi.hu>
129         * Clarify how the protocol version should be negotiated between
130         kernel and userspace.  Notably libfuse didn't correctly handle the
131         case when the supported major versions didn't match
133         * Add missing pthread link for libulockmgr.  Patch by  Petr Salinger
135 2009-07-02  Miklos Szeredi <miklos@szeredi.hu>
137         * The context is extended with a 'umask' field.  The umask is sent
138         for mknod, mkdir and create requests by linux kernel version
139         2.6.31 or later, otherwise the umask is set to zero.  Also
140         introduce a new feature flag: FUSE_CAP_DONT_MASK.  If the kernel
141         supports this feature, then this flag will be set in conn->capable
142         in the ->init() method.  If the filesystem sets this flag in in
143         conn->want, then the create modes will not be masked.
145         * Add low level interfaces for lookup cache and attribute
146         invalidation.  This feature is available in linux kernels 2.6.31
147         or later.  Patch by John Muir
149         * Kernel interface version is now 7.12
151         * fusermount: Do not silently ignore command line arguments.
152         Patch by Sebastian Harl
154 2009-06-19  Miklos Szeredi <miklos@szeredi.hu>
156         * Released 2.8.0-pre3
158 2009-06-19  Miklos Szeredi <miklos@szeredi.hu>
160         * Add fuse_getgroups (high level lib) and fuse_req_getgroups (low
161         level lib) functions to query the supplementary group IDs for the
162         current request.  Currently this is implemented on Linux by
163         reading from the /proc filesystem.
165 2009-06-18  Miklos Szeredi <miklos@szeredi.hu>
167         * Add "noforget" option to high level lib to prevent ESTALE errors
168         on NFS exported filesystems.  This result in paths being cached
169         forever, resulting in ever growing memory usage.  Use with care.
171         * Add "no_remote_lock" option to disable remote file locking even
172         if the filesystem implements it.  With this option locking
173         primitives (flock, lockf, fcntl(F_SETLK)) will still work, but
174         will ignore remotely locked files.
176         * CUSE patches from Tejun Heo:
178         * Unrestricted ioctl support left some debris.  Clean them up:
179           o No reason to pass around pointer to flags.  Pass flags directly.
180           o Clean up comment and prototype parameter names.
181           o fuse_lib_ioctl() didn't reply when get_path() failed.  Fix it.
182           o Remove unused variables {in|out}_iov from fuse_lib_ioctl().
184         * Add fuse_reply_ioctl_iov()
186         * Move fuse_session, fuse_req and fuse_ll definitions to fuse_i.h
187         and make send_reply_iov() and fuse_setup_common() global (also in
188         fuse_i.h).  These will be used by CUSE support.
190         * Restructure fuse_ll_process()
192         * Implement libfuse side of CUSE support.  CUSE uses subset of FUSE
193         operations as dir operations don't make sense for CUSE where one
194         instance implements single character device.
196         CUSE support comes with its own cuse_lowevel_ops and related
197         initialization and helper functions.  Except for initialization, it
198         usage is basically identical to FUSE.
200         This patch also adds example/cusexmp.c which can create a character
201         device with name and device number specified on command line.  The
202         created device itself is pretty boring.  It's a bit bucket supporting
203         read, write and access via ioctl.
205 2009-06-16  Miklos Szeredi <miklos@szeredi.hu>
207         * Add missing fuse_reply_bmap to versionscript.  Debian
208         Bug#531329.  Reported by Goswin Brederlow
210 2009-05-27  Miklos Szeredi <miklos@szeredi.hu>
212         * Don't call forget_node() if the lookup was negative and write()
213         for the reply returned ENOENT.  Reported by John Haxby
215 2009-05-25  Miklos Szeredi <miklos@szeredi.hu>
217         * Add FUSE_CAP_EXPORT_SUPPORT to fuse_common.h
219 2009-05-08  Miklos Szeredi <miklos@szeredi.hu>
221         * Fix missing newlines in some printfs
223         * Fix 'make install-strip'.  Reported by Dominick Layfield
225 2009-01-05  Miklos Szeredi <miklos@szeredi.hu>
227         * Released 2.8.0-pre2
229 2008-12-08  Miklos Szeredi <miklos@szeredi.hu>
231         * Implement poll support.  Patch by Tejun Heo
233         * Add missing setattr flags to <fuse_lowlevel.h>.
235         * Only pass valid flags to ->setattr().
237 2008-12-05  Miklos Szeredi <miklos@szeredi.hu>
239         * Implement ioctl support.  On high level interface only
240         "restricted" ioctls are supported (which are defined with the
241         _IO(), _IOR(), _IOW() or _IOWR() macros).  Unrestricted ioctls
242         will only be allwed to CUSE (Character Device in Userspace)
243         servers.  Patch by Tejun Heo
245 2008-11-28  Miklos Szeredi <miklos@szeredi.hu>
247         * If open sets fi->nonseekable, libfuse will tell the kernel that
248         the file is not seekable.  Patch by Tejun Heo
250 2008-11-19  Miklos Szeredi <miklos@szeredi.hu>
252         * lowlevel lib: fix deadlock if fuse_reply_* is called from the
253         interrupt handling function.  Reported by Tero Marttila
255 2008-10-16  Miklos Szeredi <miklos@szeredi.hu>
257         * Allow commas in options to be escaped with a backslash
259         * Add new function: fuse_opt_add_opt_escaped()
261         * Add missing fuse_reply_bmap() to the version script
263 2008-10-14  Miklos Szeredi <miklos@szeredi.hu>
265         * Pass current file flags to read and write operations
267 2008-07-24  Miklos Szeredi <miklos@szeredi.hu>
269         * Clean up debug output in highlevel lib
271 2008-07-10  Miklos Szeredi <miklos@szeredi.hu>
273         * Released 2.8.0-pre1
275 2008-06-27  Miklos Szeredi <miklos@szeredi.hu>
277         * Fix handling of (no)suid and (no)dev options if filesystem is
278         mounted from /etc/fstab or via mount(8).  Reported by Jan Ondrej.
280         * Skip calling mount(8) if /etc/mtab doesn't exist or if it's on a
281         read-only filesystem.  This works around issues with certain mount
282         implementations.  Reported by Szabolcs Szakacsits.
284 2008-06-16  Miklos Szeredi <miklos@szeredi.hu>
286         * Remove fuse kernel module sources.  Linux 2.6.27 will support
287         NFS exporting.
289 2008-06-10  Miklos Szeredi <miklos@szeredi.hu>
291         * Fix theoretical infinite loops in libfuse.  Reported by Szabolcs
292         Szakacsits
294         * Fix missing <sys/param.h> include for PATH_MAX.  Reported by
295         Szabolcs Szakacsits
297 2008-05-23  Miklos Szeredi <miklos@szeredi.hu>
299         * Fix mounting over symlink.  Reported by Szabolcs Szakacsits
301 2008-05-09  Miklos Szeredi <miklos@szeredi.hu>
303         * Don't allow bigger than 4kB writes by default on 2.6.26 and
304         later kernels, so that filesystems not expecting this are not
305         broken on a kernel upgrade.  Provide a 'big_writes' mount option
306         to enable this feature.  In future API revisions this may become
307         the default.
309 2008-04-09  Miklos Szeredi <miklos@szeredi.hu>
311         * Update warning message for missing newline at end of fuse.conf
313         * Update debug message for successful operation to not include the
314         string "error:"
316 2008-04-08  Miklos Szeredi <miklos@szeredi.hu>
318         * Update error message for missing mountpoint parameter.  Reported
319         by Allen Pulsifer
321 2008-04-04  Miklos Szeredi <miklos@szeredi.hu>
323         * Print library version information to debug output
325         * Highlevel lib: don't limit paths to 4095 characters
327 2008-03-25  Miklos Szeredi <miklos@szeredi.hu>
329         * Fix memory leaks on mount.  Patch by Szabolcs Szakacsits
331 2008-03-19  Miklos Szeredi <miklos@szeredi.hu>
333         * Fix missing pthread_mutex_destroy in error path of
334         fuse_lib_opendir().  Patch by Szabolcs Szakacsits
336 2008-03-07  Miklos Szeredi <miklos@szeredi.hu>
338         * Add queuing on contention to per-node lock algorithm, to avoid
339         starvation.
341         * Only enable cancelation when reading a request, otherwise
342         cancellation could happen with a mutex held, which could hang the
343         process on umount
345 2008-02-08  Miklos Szeredi <miklos@szeredi.hu>
347         * Block SIGCHLD when executing mount and umount
349         * fusexmp_fh: avoid unnecessary seeking in readdir
351         * Update kernel interface to 7.9:
353         * Support receiving file handle from kernel in GETATTR request
355         * Allow operations with a NULL path argument, if the filesystem
356         supports it
358         * Add support atomic open(O_TRUNC)
360         * Support the st_blksize field in struct stat
362         * If the "FUSE_THREAD_STACK" environment is set, initialize the
363         stack size of threads by this value.  Patch by Florin Malita
365         * Add per-node locking, instead of a global tree lock to protect
366         the path from changing during operations.  Original patch by
367         Rodrigo Castro
369 2008-02-03  Csaba Henk <csaba.henk@creo.hu>
371         * lib/mount_bsd.c:
372         - string formatting fixes
373         - exit if mounting has failed
374           (in FreeBSD a mount failure is not critical per se, as the daemon
375           still could be mounted externally, but waiting for such an event
376           is more confusing than fruitful)
377         - ditch the kvm(8) stuff and simply use forced unmount which just
378           won't block
379         - prettify option specifications
380         - add "-onosync_unmount" kernel option
382 2008-01-07  Csaba Henk <csaba.henk@creo.hu>
384         * lib/mount_bsd.c:
385         - refine device closing in a race-free way
386         - add support for "-osubtype" on FreeBSD
388         * makeconf.sh: make it work under FreeBSD
390 2008-01-03  Csaba Henk <csaba.henk@creo.hu>
392         * lib/mount_bsd.c: close device before unmount
393         (cf. lib/mount.c rev. 1.43) and fix some warnings 
395 2007-12-23  Miklos Szeredi <miklos@szeredi.hu>
397         * Fix './configure --disable-static'.  Patch from Ismail Dönmez
399 2007-12-17  Miklos Szeredi <miklos@szeredi.hu>
401         * Released 2.7.2
403 2007-12-12  Miklos Szeredi <miklos@szeredi.hu>
405         * Fix kernel module compile for 2.6.24
407         * Invalidate attributes of parent directory after create(), since
408         the modification time changes.  Invalidate attributes on rename,
409         since some filesystems may update st_ctime.  Reported by Szabolcs
410         Szakacsits
412         * Fix NFS exporting to handle 64bit node IDs
414         * Disable old symbol versions if __UCLIBC__ is defined.  If a
415         symbol in a library has multiple versions, the runtime linker in
416         uClibc seems to randomly choose between them.
418         * Remove erroneous 'fuse_opt_insert_arg@FUSE_2_5' from
419         fuse_version_script.  fuse_opt_free_args() was added in fuse-2.6.
421         * Close fuse device file descriptor before calling umount(),
422         preventing a deadlock when umount is synchronous.  Reported by
423         Szabolcs Szakacsits
425 2007-11-12  Miklos Szeredi <miklos@szeredi.hu>
427         * 'fusermount -u' did not umount the filesystem if /etc/mtab was a
428         symlink.  This bug was introduced in 2.7.1 by "Don't call
429         /bin/[u]mount if /etc/mtab is a symlink".  Found by robertsong.
431 2007-10-16  Miklos Szeredi <miklos@szeredi.hu>
433         * Released 2.7.1
435 2007-10-16  Miklos Szeredi <miklos@szeredi.hu>
437         * Clarify licence version to be "LGPLv2" for the library
439         * kernel fixes:
441         * After mount set nlink attribute for the root inode to 1
443         * Fix wake up of task waiting for a reserved request
445         * Fix allowing setattr, listxattr and statfs for other users
447 2007-09-18  Miklos Szeredi <miklos@szeredi.hu>
449         * Add missing context initialization in fuse_fs_chmod().  Bug
450         found by "iohead"
452         * Fix kernel module compilation for 2.6.23.  Based on patch by
453         Marian Marinov
455 2007-09-04  Philippe Elie  <phil.el@wanadoo.fr>
457         * lib/fuse_lowlevel.c: fix a fuse_req leak in do_forget()
459 2007-07-31  Miklos Szeredi <miklos@szeredi.hu>
461         * Work around hotplug issue, that it calls filesystem with file
462         descriptors 0, 1 and 2 not open.  Tracked down by Leif Johnson
464 2007-07-25  Miklos Szeredi <miklos@szeredi.hu>
466         * Don't call /bin/[u]mount if /etc/mtab is a symlink.  Reported by
467         Tomas M
469         * Also don't touch /etc/mtab if it is within the mounted
470         filesystem.  Suggested by Jeffrey Law
472 2007-07-12  Miklos Szeredi <miklos@szeredi.hu>
474         * Reset args->argc in fuse_opt_free_args().  Patch by Lucas
475         C. Villa Real
477 2007-07-02  Miklos Szeredi <miklos@szeredi.hu>
479         * Released 2.7.0
481 2007-07-02  Miklos Szeredi <miklos@szeredi.hu>
483         * Accept a NULL "op" for fuse_main(), etc.  This is useful if
484         filesystem is only invoking fuse to print a help message, or
485         version.  Fixes RedHat bugzilla #217343
487 2007-06-22  Miklos Szeredi <miklos@szeredi.hu>
489         * lib: fix locking when loading a filesystem module
491 2007-06-21  Miklos Szeredi <miklos@szeredi.hu>
493         * Add fs subtype support to mount.fuse
495 2007-06-20  Miklos Szeredi <miklos@szeredi.hu>
497         * Add fs subtype support to libfuse and fusermount
499 2007-06-19  Miklos Szeredi <miklos@szeredi.hu>
501         * kernel: sync with mainline (2.6.22)
503 2007-06-18  Miklos Szeredi <miklos@szeredi.hu>
505         * Send debug output to stderr instead of stdout.  Patch by Jan
506         Engelhardt
508 2007-06-03  Miklos Szeredi <miklos@szeredi.hu>
510         * libulockmgr: Work around a kernel bug in recv(), causing it to
511         sometimes return zero even if data was available on the socket.
513 2007-05-29  Miklos Szeredi <miklos@szeredi.hu>
515         * lib: optimization: store parent pointer in node instead of
516         parent id
518 2007-05-25  Miklos Szeredi <miklos@szeredi.hu>
520         * lib: don't create new thread for each FORGET request.  FORGET
521         messages sometimes caused so many threads to be created, that
522         process virtual memory space ran out.  Reported by Chris AtLee
524 2007-05-24  Miklos Szeredi <miklos@szeredi.hu>
526         * lib: fix memory leak on thread creation failure in multithreaded
527         event loop.  Found by Chris AtLee
529 2007-05-23  Miklos Szeredi <miklos@szeredi.hu>
531         * lowlevel lib: add fuse_reply_iov function, which is similar to
532         fuse_reply_buf, but accepts a vector of buffers.  Patch by Roger
533         Willcocks
535 2007-05-21  Miklos Szeredi <miklos@szeredi.hu>
537         * Fix Oops or error if a regular file is created with mknod(2) on
538         a fuse filesystem.  Kernels 2.6.18 onward are affected.  Thanks to
539         J. Cameijo Cerdeira for the report
541 2007-05-11  Csaba Henk <csaba.henk@creo.hu>
543         * libfuse: fix return value of fuse_loop()/fuse_loop_mt().
544         Error reported by Csaba Henk, fix by Miklos Szeredi
546         * libfuse: fix unlock in flush
548         * libfuse: do unlocking on RELEASE+FLUSH
550 2007-05-03  Miklos Szeredi <miklos@szeredi.hu>
552         * Released 2.7.0-rc1
554 2007-05-02  Miklos Szeredi <miklos@szeredi.hu>
556         * kernel: sync with mainline:
558         * Use invalidate_mapping_pages() if available
560         * Fix BUG when invalid file type is supplied in mount. Patch by
561         Timo Savola
563 2007-04-27  Miklos Szeredi <miklos@szeredi.hu>
565         * libfuse: call umount(8) directly instead of fusermount if
566         possible
568         * Clean up init script, make it LSB compliant
570 2007-04-26  Miklos Szeredi <miklos@szeredi.hu>
572         * In multithreaded loop, use a semaphore instead of SIGHUP to wake
573         up the main thread on umount.  This is more elegant, and works
574         even if signals are blocked.
576 2007-04-25  Miklos Szeredi <miklos@szeredi.hu>
578         * Improve mounting support in libfuse:
579          - check non-empty mountpoint
580          - only fall back to fusermount when necessary
582 2007-04-23  Miklos Szeredi <miklos@szeredi.hu>
584         * Don't chdir to "/" in foreground mode, it causes more trouble
585         than it's worth
587 2007-04-18  Miklos Szeredi <miklos@szeredi.hu>
589         * Replace utils/mount.fuse "sh" script with a "C" program
591 2007-04-15  Miklos Szeredi <miklos@szeredi.hu>
593         * Add -lulockmgr to compilation comment in fusexmp_fh.c
595 2007-04-05  Miklos Szeredi <miklos@szeredi.hu>
597         * Check for iconv.  Patch by Csaba Henk
599         * Add direct umounting
601         * Use "fusectl" as the device for the fusectl filesystem.  Debian
602         Bug#417945.  Reported by Laurent Bonnaud
604 2007-04-01  Csaba Henk <csaba.henk@creo.hu>
606         * Fix some FreeBSD related macros.
608 2007-03-30  Miklos Szeredi <miklos@szeredi.hu>
610         * Add support for direct mounting by libfuse.  Fall back on
611         calling fusermount if it doesn't work
613 2007-03-14  Miklos Szeredi <miklos@szeredi.hu>
615         * Released 2.7.0-pre1
617 2007-03-05  Miklos Szeredi <miklos@szeredi.hu>
619         * Correctly handle O_APPEND in direct IO mode.  Reported by Greg
620         Bruno
622         * mount.fuse should use /bin/bash.  Debian Bug#413403.  Reported
623         by Thomas Weinbrenner
625 2007-02-26  Miklos Szeredi <miklos@szeredi.hu>
627         * Fix detection of installed fuse in init script.  Reported and
628         fix suggested by Davide Canova
630 2007-02-05  Miklos Szeredi <miklos@szeredi.hu>
632         * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
633         don't define mutex_destroy(), bummer.  Patch from Phil Schwan
635 2007-02-04  Miklos Szeredi <miklos@szeredi.hu>
637         * Compile fuseblk for kernels which don't have an option to turn
638         off the block layer (CONFIG_BLOCK).  Reported by Szakacsits
639         Szabolcs
641 2007-02-03  Miklos Szeredi <miklos@szeredi.hu>
643         * Add filesystem stacking support to high level API.  Filesystem
644         modules can be built into libfuse or loaded from shared object
645         (.so) files
647         * Add 'subdir' and 'iconv' built in modules
649         * lib/fuse.c: Fix locking for the reply code in create and open
651 2007-02-02  Miklos Szeredi <miklos@szeredi.hu>
653         * kernel: make it compile on "strange" kernels which have emulated
654         mutexes via <linux/mutex.h> but no i_mutex.  Reported by Tomasz
655         Mateja
657 2007-01-28  Miklos Szeredi <miklos@szeredi.hu>
659         * kernel: fix BUG in control filesystem if it is umounted and
660         mounted again, while some fuse filesystems are present.
661         Bugreport from Florent Mertens
663         * kernel: sync with mainline, support 2.6.20
665 2007-01-22  Miklos Szeredi <miklos@szeredi.hu>
667         * lib/Makefile.am: actually link libfuse against libfuse_libs
669 2007-01-19  Miklos Szeredi <miklos@szeredi.hu>
671         * Build fix for 2.6.16 vanila and 2.6.15 FC5 kernels.  Patch from
672         Ian Abbott
674 2007-01-18  Miklos Szeredi <miklos@szeredi.hu>
676         * Fix abort in fuse_new() compatibility API for opts == NULL case.
677         Novell bugzilla #233870.  Patch from Takashi Iwai.
679 2007-01-13  Miklos Szeredi <miklos@szeredi.hu>
681         * Fix option parsing in mount.fuse.  Patch from Jens M. Noedler
683 2007-01-02  Miklos Szeredi <miklos@szeredi.hu>
685         * Fix unaligned access in file desctriptor passing in libfuse,
686         fusermount and ulockmgr.  Debian bug ID: 404904.  Reported and
687         tested by Sebastian Fontius
689 2006-12-16  Miklos Szeredi <miklos@szeredi.hu>
691         * kernel: don't keep unreferenced inodes in the icache.
693 2006-12-15  Miklos Szeredi <miklos@szeredi.hu>
695         * fusermount: Fix detection of fuseblk.  Reported by Szakacsits
696         Szabolcs
698         * lib: Fix use after free in fuse_flush().  Reported by Ron
699         Lindman
701 2006-12-10  Miklos Szeredi <miklos@szeredi.hu>
703         * mount.fuse: add "setuid=USER" option which does a "su - USER"
704         for the filesystem
706         * fusermount: use "/bin/mount -f" to add entry to /etc/mtab, and
707         "/bin/umount" to remove entry from /etc/mtab.  This gets rid of
708         the ugly code dealing with mtab, as well as a possible race
709         between fusermount and mount trying to modify /etc/mtab at the
710         same time
712         * Fix "buffer size too small: 4" warning for users of the
713         fuse_loop_mt_proc() function.
715 2006-12-04  Miklos Szeredi <miklos@szeredi.hu>
717         * Fix warnings with gcc-4.1 on 64bit archs.  Report from
718         Harshavardhana
720         * Add extra warning options, and fix resulting warnings
722         * Really fix fuse_teardown problem
724 2006-12-02  Miklos Szeredi <miklos@szeredi.hu>
726         * Add -lrt to fuse.pc (if needed) to fix static linking against
727         libfuse.  Reported by Szakacsits Szabolcs
729 2006-12-01  Miklos Szeredi <miklos@szeredi.hu>
731         * Released 2.6.1
733 2006-11-30  Miklos Szeredi <miklos@szeredi.hu>
735         * Fix API version 21 and 22 compatibility for fuse_teardown.
736         Reported by Bgs
738 2006-11-29  Miklos Szeredi <miklos@szeredi.hu>
740         * fusermount: Print a more helpful message in case the kernel
741         doesn't support the 'fuseblk' filesystem type.  This has been
742         biting ntfs-3g users.  Reported by Yura Pakhuchiy
744         * kernel: fix build problem for "make -C ...".  Reported by
745         Stephen Bryant
747 2006-11-19  Miklos Szeredi <miklos@szeredi.hu>
749         * Fix bug in certain error paths of lookup routines.  The request
750         object was reused for sending FORGET, which is illegal.  This bug
751         could cause an Oops in linux-2.6.18 or in fuse-2.6.0, and might
752         silently corrupt memory in earlier versions.  Report and test
753         program by Russ Cox
755 2006-11-11  Miklos Szeredi <miklos@szeredi.hu>
757         * Print an error if an incompatible kernel interface version is
758         detected in INIT.  This will only show if filesystem is started
759         with -d or -f
761         * Fix order of fuse_destroy()/fuse_unmount() in error cleanup of
762         fuse_setup_common().  Reported by Szakacsits Szabolcs
764 2006-11-06  Miklos Szeredi <miklos@szeredi.hu>
766         * Fix recursive locking in fuse_create().  Thanks to Takuya
767         Ishibashi for the bug report
769 2006-10-28  Miklos Szeredi <miklos@szeredi.hu>
771         * Fix automake problem.  Patch from Nix
773 2006-10-26  Miklos Szeredi <miklos@szeredi.hu>
775         * Fix mount.fuse to use /bin/sh instead of /bin/bash, which is not
776         always available on embedded systems.  Patch from Paul Smith
778         * Fix util/Makefile.am, so that failure to run update-rc.d or
779         device creation doesn't cause make to fail.  Reported by Paul
780         Smith
782 2006-10-21  Miklos Szeredi <miklos@szeredi.hu>
784         * Released 2.6.0
786 2006-10-18  Miklos Szeredi <miklos@szeredi.hu>
788         * fusermount: don't try to create a lock file if /etc/mtab is a
789         symlink.  Report and patch from Alexei Sheplyakov (debian bug
790         #393693)
792 2006-10-17  Miklos Szeredi <miklos@szeredi.hu>
794         * Minor changes, sync with mainline tree
796 2006-10-16  Miklos Szeredi <miklos@szeredi.hu>
798         * Released 2.6.0-rc3
800 2006-10-15  Miklos Szeredi <miklos@szeredi.hu>
802         * kernel: cleanups
804 2006-10-13  Miklos Szeredi <miklos@szeredi.hu>
806         * kernel: Fix compilation on patched 2.6.18 (fc6) and 2.6.19.
807         Report from David Shaw
809         * lib: Fix lost error on renaming a file. Report from David Shaw
811         * lib: Fix lost error on hiding open files (renaming to
812         .fuse_hiddenXXXX)
814         * kernel: Fix a rare hang on SMP/32bit on heavy filesystem
815         activity.  The cause of the bug was that some calls to
816         i_size_write() were not protected by a lock, and hence
817         i_size_seqcount could become corrupted.  This caused subsequent
818         calls to i_size_read() to spin forever.  This is a long standing
819         bug was probably introduced in version 2.2, and thought to be
820         related to NFS exporting (it's not).  It was reported by various
821         people, but Dana Henriksen has finally helped me to track it down,
822         so big thanks to him
824         * kernel: Protect against truncation of a swapfile
826 2006-10-10  Miklos Szeredi <miklos@szeredi.hu>
828         * kernel: Check for signature of super_operations->umount_begin().
829         Ubuntu kernel 2.6.17 seems to use the new signature found in
830         2.6.18.  Thanks to Florent Mertens for the report
832 2006-10-08  Miklos Szeredi <miklos@szeredi.hu>
834         * Make sure inode numers wrap around at 2^32.  This is needed on
835         dual 64bit/32bit architectures, because 32bit applications using
836         the non-largefile interface would otherwise break (EOVERFLOW error
837         would be returned by the stat() system call family)
839         * ulockmgr: handle the case, when a locking operation fails
840         because no more file desctriptors are available in
841         ulockmgr_server.  Also work around a Linux kernel bug (known to
842         exist for all Linux kernel versions <= 2.6.18) which may cause
843         sent file descriptors to be lost in the above case
845         * ulockmgr: optimize file descriptor use
847         * restore needed cpp flags to util/Makefile.am
849         * Install udev rules as 99-fuse.rules instead of 60-fuse.rules
851         * Minor clean up of udev rules
853         * Add a synchronous DESTROY message to kernel interface.  This is
854         invoked from umount, when the final instance of the filesystem is
855         released.  It is only sent for filesystems mounted with the
856         'blkdev' option for security reasons.
858         * If the DESTROY message is received, call the filesystem's
859         ->destroy() method.  In this case it's not called from session
860         destruction as it would be otherwise.
862 2006-10-01  Miklos Szeredi <miklos@szeredi.hu>
864         * Released 2.6.0-rc2
866 2006-10-01  Miklos Szeredi <miklos@szeredi.hu>
868         * Add support for FLUSH+RELEASE operation for FreeBSD.  Original
869         patch by Csaba Henk
871         * Add init script to insert fuse module and mount the control
872         filesystem.  The script is installed as /etc/init.d/fuse and on
873         debian based systems (where update-rc.d is available) symlinks
874         from /etc/rc*.d/ are also installed.
876         * Include '#define FUSE_USE_VERSION=XX' into examples so they
877         become more self contained.
879 2006-09-30  Miklos Szeredi <miklos@szeredi.hu>
881         * API changes:
883         * Move lock_owner from a separate argument into fuse_file_info
885         * Add a flag to fuse_file_info indicating (1) a highlevel lock
886         operation (unlock all) was initiated by a flush, (2) a lowlevel
887         release operation should perform a flush as well.
889         * fusermount: revert modprobe change (2006-08-18) since it
890         doesn't work reliably with udev
892         * Add support for block device backed filesystems.  This mode is
893         selected with the 'blkdev' option, which is privileged.
895         * Add support for the bmap (FIBMAP ioctl) operation on block
896         device backed filesystems.  This allows swapon and lilo to work on
897         such filesystems.
899         * kernel changes:
901         * Drop support for kernels earlier than 2.6.9.  Kernel module from
902         previous (2.5.x) release can be used with library from this
903         release
905         * In fuse_dentry_revalidate() use dget_parent() instead of
906         dereferencing d_parent, since there's no protection against parent
907         changing and going away
909         * Protect nlookup from concurrent updates
911         * In lookup if a directory alias exists but is unused,
912         then get rid of it, otherwise return -EBUSY.
914         * In mkdir if a directory alias exists, return success, but leave
915         dentry negative.  In reality this could happen if a remote rename
916         immediately followed the mkdir.
918         * Don't BUG in fuse_iget() if multiple retries are needed to get a
919         good inode.  This could happen if several lookups are racing for
920         the same inode.
922 2006-09-29  Miklos Szeredi <miklos@szeredi.hu>
924         * Fix compilation on 2.6.9.  Report from Troy Ayers
926 2006-09-27  Miklos Szeredi <miklos@szeredi.hu>
928         * Fix Oops in fuse_readpages().  Reported by David Shaw
930 2006-09-24  Csaba Henk <csaba.henk@creo.hu>
932         * Add support for nanosec times on FreeBSD
934         * Fix FreeBSD compatibility issues
936 2006-09-23  Miklos Szeredi <miklos@szeredi.hu>
938         * Fix one more compatibility bug.  Thanks to Ricardo Correia
940         * Fix utimens compilation with uClibc.  Patch from Jamie Guinan
942 2006-09-22  Miklos Szeredi <miklos@szeredi.hu>
944         * Fixed several compatibility bugs in low level interface.
945         Reported by Ricardo Correia
947         * Add workaround for ARM caching bug
949 2006-09-16  Miklos Szeredi <miklos@szeredi.hu>
951         * Rename new utimes() method to more logical utimens()
953 2006-09-14  Miklos Szeredi <miklos@szeredi.hu>
955         * Fuse tried to unlink already unlinked hidden files.  Bug
956         reported by Milan Svoboda
958 2006-09-10  Miklos Szeredi <miklos@szeredi.hu>
960         * Released 2.6.0-rc1
962 2006-09-10  Miklos Szeredi <miklos@szeredi.hu>
964         * kernel: Fix unlock on close for kernels < 2.6.18
966         * Add ulockmgr library & server.  This can be used for handling
967         file locking requests either directly from libfuse or over a
968         network, etc.  This first version is not optimized and the number
969         of file descriptors it uses may get out of hand
971 2006-09-07  Miklos Szeredi <miklos@szeredi.hu>
973         * lib: Add interrupt support to high level library, which may be
974         enabled with the 'intr' mount option.
976         * When an operation is interrupted the thread handling that
977         operation will receive SIGUSR1 (or other signal specified with the
978         'intr_signal=N' option).  The library installs a no-op signal
979         handler for this signal, unless there's already a handler
980         installed.
982         * The filesystem may query interrupt status (regardless of 'intr')
983         with the fuse_interrupted() function.
985         * mount.fuse: initialize $HOME if not set.  Report from Sven Goldt
987 2006-09-03  Miklos Szeredi <miklos@szeredi.hu>
989         * lib: Multithreaded loop now allows unlimited number of threads.
990         This is needed for locking operations which may block
991         indefinitely.  Also the kernel now doesn't limit the number of
992         outstanding requests so the library shouldn't do so either.
994 2006-09-01  Miklos Szeredi <miklos@szeredi.hu>
996         * Fix recursive lock bug in interrupt handling
998         * Add utimes() method to highlevel interface, which supports
999         setting times with nanosecond resolution
1001 2006-08-18  Miklos Szeredi <miklos@szeredi.hu>
1003         * kernel: fix page leak if fuse_readpages() failed in it's
1004         initialization.  Bug found and original patch from Alexander
1005         Zarochentsev
1007         * For linux kernels >=2.6.18 (2.6.19 if using the fuse module from
1008         the kernel tree) the statfs method will receive the path within
1009         the filesystem on which the stat(v)fs syscall was called
1011         * fusermount: try to modprobe fuse module if invoked by root and
1012         unable to open device.  This is needed with udev, since the device
1013         node will be created only when the module is inserted, hence
1014         module autoloading won't work.  Reported by Szakacsits Szabolcs
1016 2006-07-30  Miklos Szeredi <miklos@szeredi.hu>
1018         * fusermount: if selinux is active, restore the original file's
1019         security context in unmount_rename().  Redhat bugzilla id 188561.
1020         Patch from Yves Perrenoud
1022         * Add POSIX file locking operation to high level library
1024         * Initialize context for unlink of hidden files on umount.  Bug
1025         reported by Tim Stoakes
1027 2006-07-14  Miklos Szeredi <miklos@szeredi.hu>
1029         * Multiple release() calls can race with each other, resulting in
1030         the hidden file being deleted before the last release finishes.
1031         Bug found and patch tested by Mark Huijgen
1033 2006-07-05  Miklos Szeredi <miklos@szeredi.hu>
1035         * fusermount: if /dev/fuse doesn't exist, suggest modprobing fuse;
1036         this makes sense on systems using udev.  Reported by Szakacsits
1037         Szabolcs
1039 2006-06-29  Miklos Szeredi <miklos@szeredi.hu>
1041         * Released 2.6.0-pre3
1043 2006-06-29  Miklos Szeredi <miklos@szeredi.hu>
1045         * Support in kernel module for file locking and interruption.  The
1046         same functionality is available in official kernels >= 2.6.18
1048 2006-06-28  Miklos Szeredi <miklos@szeredi.hu>
1050         * Add POSIX file locking support
1052         * Add request interruption
1054 2006-06-06  Miklos Szeredi <miklos@szeredi.hu>
1056         * Add missing pthread_rwlock_destroy().  Patch from Remy Blank
1058 2006-06-05  Remy Blank <remy.blank@pobox.com>
1060         * lib: canonicalize mount point in fuse_helper_opt_proc() so that
1061         unmounting succeeds even if mount point was relative.
1063 2006-06-04  Csaba Henk <csaba.henk@creo.hu>
1065         * lib: fix emergency umount in helper.c when malloc fails.
1066         (The way it was done would end up in a segfault.)
1068 2006-06-01  Csaba Henk <csaba.henk@creo.hu>
1070         * lib: adjust threading related compiler flags.
1071         Switch to "-pthread" from "-lpthread" as that's the preferred
1072         one on several platforms. Consulted with Terrence Cole and
1073         Miklos Szeredi
1075 2006-05-08  Miklos Szeredi <miklos@szeredi.hu>
1077         * lib: search fusermount in installation directory (bindir) as
1078         well as in PATH.
1080 2006-05-03  Miklos Szeredi <miklos@szeredi.hu>
1082         * lib: fix compilation if CLOCK_MONOTONIC is not defined.
1083         Reported by Christian Magnusson
1085 2006-04-23  Csaba Henk <csaba.henk@creo.hu>
1087         * lib: make FreeBSD mount routine recognize if kernel features
1088         backgrounded init and if it does, run the mount util in foreground
1089         (similarly to Linux)
1091 2006-04-21  Miklos Szeredi <miklos@szeredi.hu>
1093         * kernel: fix fput deadlock fix, the lockless solution could lead
1094         to "VFS: busy inodes after umount..."
1096         * kernel: fix race between checking and setting file->private_data
1097         for the device.  Found by Al Viro
1099 2006-04-11  Miklos Szeredi <miklos@szeredi.hu>
1101         * kernel: remove request pool, instead allocate requests on
1102         demand.  Account the number of background requests, and if they go
1103         over a limit, block the allocation of new requests.
1105         * kernel: fix deadlock if backgrounded request holds the last
1106         reference to the super block
1108         * kernel: don't use fuse_reset_request() during direct I/O
1110 2006-04-06  Csaba Henk <csaba.henk@creo.hu>
1112         * lib: Let FreeBSD mount option parsing routine recognize "no"
1113         prefixes for FUSE specific options as well
1115 2006-04-01  Miklos Szeredi <miklos@szeredi.hu>
1117         * lib: Add missing rwlock initialization.  Patch by Ryan Bradetich
1119 2006-03-17  Miklos Szeredi <miklos@szeredi.hu>
1121         * API changes:
1123         * fuse_main(), fuse_setup() and fuse_new() have an additionl
1124         user_data parameter
1126         * fuse_mount() returns a 'struct fuse_chan' pointer instead of a
1127         file descriptor
1129         * fuse_unmount() receives a 'struct fuse_chan' pointer.  It
1130         destroys the given channel
1132         * fuse_teardown() no longer has a file descriptor parameter
1134         * new exported functions: fuse_session_remove_chan(),
1135         fuse_get_session(), fuse_daemonize()
1137         * fuse_chan_recv() may now return a new channel which will be used
1138         to send the reply
1140 2006-03-16  Miklos Szeredi <miklos@szeredi.hu>
1142         * Released 2.6.0-pre2
1144 2006-03-16  Miklos Szeredi <miklos@szeredi.hu>
1146         * Don't unmount if already unmounted.  This fixes a problem seen
1147         in the following situation: Lazy unmount a busy filesystem; Mount
1148         a new one in top; When the first finally unmounts, the second also
1149         unmounts.  Reported by Franco Broi
1151 2006-03-15  Miklos Szeredi <miklos@szeredi.hu>
1153         * lowlevel lib: use indirect function calls instead of a
1154         switch/case construct.  Besides increased efficiency it helps
1155         maintainability & readability too.  Patch from Florin Malita
1157 2006-03-13  Miklos Szeredi <miklos@szeredi.hu>
1159         * kernel: replace global spinlock with a per-connection spinlock
1161 2006-03-10  Miklos Szeredi <miklos@szeredi.hu>
1163         * Fix source compatibility breakage for fuse_unmount().  Report
1164         from Yura Pakhuchiy
1166 2006-03-02  Miklos Szeredi <miklos@szeredi.hu>
1168         * Fix O_ASYNC handling in fuse_dev_release().  From Jeff Dike
1170 2006-03-01  Miklos Szeredi <miklos@szeredi.hu>
1172         * Add O_ASYNC and O_NONBLOCK support to FUSE device.  Patch by
1173         Jeff Dike
1175         * Renamed fuse_chan_receive() to fuse_chan_recv() and changed
1176         interface to return -errno in case of error.
1178 2006-03-01  Csaba Henk <csaba.henk@creo.hu>
1180         * libfuse: pass device file descriptor to fuse_unmount(), rewrite
1181         FreeBSD implementation so that it uses libc (sysctl backed) instead
1182         of an embdedded script (kmem backed). Adjust the control flow of
1183         hello_ll so that device doesn't get closed before unmount attempt.
1185 2006-02-25  Miklos Szeredi <miklos@szeredi.hu>
1187         * Lowlevel lib: return all-zero statvfs data if filesystem doesn't
1188         implement method.  This is needed on FreeBSD, and nicer on Linux
1189         too.  Highlevel lib already did this.  Reported by Csaba Henk
1191         * Fix negative entry handling.  There was a bug, that negative
1192         lookups with timeouts (nodeid == 0) returned -EIO.
1194 2006-02-23  Miklos Szeredi <miklos@szeredi.hu>
1196         * Fix race between RELEASE and UNLINK, which might leave
1197         .fuse_hidden* files around
1199 2006-02-21  Miklos Szeredi <miklos@szeredi.hu>
1201         * fusexmp_fh: implement flush() method and call close() on the
1202         open file descriptor.  This is needed if used on an NFS
1203         filesystem, which buffers data until file is closed.  Franco Broi
1204         spotted the situation when 'cp -p' failed to set the modification
1205         time because of this.
1207 2006-02-20  Miklos Szeredi <miklos@szeredi.hu>
1209         * Released 2.6.0-pre1
1211 2006-02-19  Miklos Szeredi <miklos@szeredi.hu>
1213         * libfuse: fix use-after-free bug in interruptred reply_entry().
1214         Patch from John Muir
1216         * libfuse: fix wrong symbol versioning for fuse_mount.  Debian bug
1217         ID: 352631.  Found by Stéphane Rosi
1219 2006-02-17  Miklos Szeredi <miklos@szeredi.hu>
1221         * Lowlevel lib: Unify fuse_dirent_size() and fuse_add_dirent()
1222         into a single function fuse_add_direntry().  This cleans up the
1223         interface and makes it possible to do stacking.
1225 2006-02-16  Miklos Szeredi <miklos@szeredi.hu>
1227         * Fix rare race betweeen abort and release caused by failed iget()
1228         in fuse_create_open().
1230         * Add 'ac_attr_timeout' option e.g. for filesystems which do their
1231         own attribute caching.
1233 2006-02-15  Miklos Szeredi <miklos@szeredi.hu>
1235         * Work around FreeBSD runtime linker "feature" which binds an old
1236         version of a symbol to internal references if the symbol has more
1237         than one version.  This resulted in infinite recursion in
1238         fuse_lowlevel_new_compat25().
1240 2006-02-10  Csaba Henk <csaba.henk@creo.hu>
1242         * Refine clock_gettime() querying so that linker options
1243         shall be set as it's appropriate for the target platform.
1245 2006-02-09  Miklos Szeredi <miklos@szeredi.hu>
1247         * Fix udev rule syntax.  Reported by Nix
1249 2006-02-08  Miklos Szeredi <miklos@szeredi.hu>
1251         * In some cases udev rule seems to be ineffective when installed
1252         as 40-fuse.rules but work as 60-fuse.rules.  Reported by John Hunt
1254 2006-02-03  Miklos Szeredi <miklos@szeredi.hu>
1256         * Fix compilation when build directory is different from source
1257         directory.  Reported by Frédéric L. W. Meunier
1259 2006-02-02  Miklos Szeredi <miklos@szeredi.hu>
1261         * Fix even bigger bug introduced in fix for request_end() on
1262         2006-01-14.  Reported by Gal Rosen
1264 2006-01-30  Miklos Szeredi <miklos@szeredi.hu>
1266         * highlevel-lib: add 'auto_cache' option.  This caches file data
1267         based on modification time and size
1269 2006-01-20  Miklos Szeredi <miklos@szeredi.hu>
1271         * Sanitize storage type and help message in mount_bsd.c.  Patch
1272         from Csaba Henk
1274         * fuse_opt: add new helper constants FUSE_OPT_KEY_KEEP and
1275         FUSE_OPT_KEY_DISCARD
1277         * Add options 'max_readahead', 'sync_read' and 'async_read'
1279         * Kernel ABI version 7.6:
1281         * Negotiate the 'max_readahead' value and 'async_read' flags with
1282         userspace in the INIT method
1284         * Add connection info to ->init() methods to both lowlevel and
1285         highlevel API
1287         * Fall back to synchronous read() behavior if either library or
1288         userspace filesystem is using the old interface version.  This is
1289         needed so non-updated filesystems won't be confused by the
1290         different read() behavior
1292 2006-01-19  Miklos Szeredi <miklos@szeredi.hu>
1294         * lib: if "fsname=" option was given, pass it to fusermount
1296         * fuse_opt: add new fuse_opt_insert_arg() function, which is
1297         needed by filesystems to implement some argument manipulations
1298         correctly
1300         * fuse_opt: fix memory leak in handling "--" option
1302 2006-01-18  Miklos Szeredi <miklos@szeredi.hu>
1304         * kernel: fix detection of case when fuse is not configured into
1305         the kernel either as module or built-in
1307         * fuse_opt.h: fix incompatibility with C++ compilers by renaming
1308         'template' structure member to 'templ'.  Reported by Takashi Iwai
1310         * fuse.h: fix compatibility bugs.  Patch by Yura Pakhuchiy
1312         * kernel: support version 2.6.16 (i_sem -> i_mutex)
1314 2006-01-16  Miklos Szeredi <miklos@szeredi.hu>
1316         * Added (again) asynchronous readpages support
1318         * Each connection now shows up under /sys/fs/fuse/connections
1320         * Connection attributes exported to sysfs: 'waiting' number of
1321         waiting requests; 'abort' abort the connection
1323         * Connection may be aborted through either the sysfs interface or
1324         with 'umount -f mountpoint'
1326 2006-01-14  Miklos Szeredi <miklos@szeredi.hu>
1328         * Released 2.5.0
1330 2006-01-14  Miklos Szeredi <miklos@szeredi.hu>
1332         * kernel: fix a couple of bugs
1334         * Order of request_end() and fuse_copy_finish() was wrong.
1335         Posthumous note: Franco Broi managed to exploit this, though it
1336         seemed quite impossible
1338         * request_end() used request pointer after decrementing refcount
1340         * Clearing ->connected or ->mounted connection flags could race
1341         with setting other bitfields not protected with a lock
1343 2006-01-10  Miklos Szeredi <miklos@szeredi.hu>
1345         * kernel: add necessary compile flags for 2.4.X/x86_64.
1346         Report from Sean Ziegeler
1348 2006-01-09  Miklos Szeredi <miklos@szeredi.hu>
1350         * Released 2.5.0-pre2
1352 2006-01-09  Miklos Szeredi <miklos@szeredi.hu>
1354         * Applied patch from Csaba Henk, to update mount_bsd to new
1355         fuse_mount() semantics
1357         * Ignore auto,noauto,... options in mount.fuse.  Reported by Frank
1358         Steiner and Don Taber
1360         * fusermount: add 'dirsync' mount option
1362 2006-01-07  Miklos Szeredi <miklos@szeredi.hu>
1364         * Improved help reporting and added version reporting to library
1366 2006-01-06  Miklos Szeredi <miklos@szeredi.hu>
1368         * Change working directory to "/" even if running in the
1369         foreground.  Patch from Jonathan Brandmeyer
1371         * Changed lots of functions to use 'struct fuse_args' instead of
1372         separate argc and argv
1374         * Added fuse_parse_cmdline(), fuse_set_signal_handlers() and
1375         fuse_remove_signal_handlers() functions, so that it's now pretty
1376         easy to get all the functionality of fuse_main() with a filesystem
1377         using the lowlevel API.
1379 2006-01-02  Miklos Szeredi <miklos@szeredi.hu>
1381         * mount.fuse: the 'user' option should be ignored. Report and
1382         solution from Mattd.
1384         * mount.fuse: export PATH in the right place. Report and patch
1385         from Hannes Schweizer
1387 2005-12-16  Miklos Szeredi <miklos@szeredi.hu>
1389         * Clean up the option parsing interface slightly, by creating an
1390         "argument list" structure, that contains the argument vector and
1391         count
1393 2005-12-15  Miklos Szeredi <miklos@szeredi.hu>
1395         * fusermount: check if /mnt/mtab is a symlink and don't modify it
1396         in that case
1398         * kernel: simplify request size limiting. INIT only contains
1399         maximum write size, maximum path component size remains fixed at
1400         1024 bytes, and maximum xattr size depends on read buffer.
1402 2005-12-14  Miklos Szeredi <miklos@szeredi.hu>
1404         * Fix readdir() failure on x86_64, of 32bit programs compiled
1405         without largefile support.  Bug report and help from Anthony
1406         Kolasny
1408         * If lookup returns invalid mode, return -EIO instead of creating
1409         a regular file
1411         * Add current output argument vector to option processing
1412         function
1414 2005-12-12  Miklos Szeredi <miklos@szeredi.hu>
1416         * Fix stale code in ifdef FreeBSD.  Patch from Csaba Henk
1418 2005-12-09  Miklos Szeredi <miklos@szeredi.hu>
1420         * Released 2.5.0-pre1
1422 2005-12-09  Miklos Szeredi <miklos@szeredi.hu>
1424         * libfuse: added option parsing interface, defined in
1425         <fuse_opt.h>.
1427 2005-12-07  Miklos Szeredi <miklos@szeredi.hu>
1429         * Return EIO for file operations (read, write, fsync, flush) on
1430         open files whose inode has become "bad".  Inodes will be marked
1431         "bad" if their type changes.  Bug report by Csaba Henk
1433 2005-12-06  Miklos Szeredi <miklos@szeredi.hu>
1435         * Use bigger request buffer size.  write() did not work on archs
1436         with > 4k page size, Bug report by Mark Haney
1438         * ABI version 7.5:
1440         * Extend INIT reply with data size limits
1442 2005-12-02  Miklos Szeredi <miklos@szeredi.hu>
1444         * Fix memory leak in fuse_read_cmd()/fuse_process_cmd().  Bug
1445         reported by Vincenzo Ciancia
1447         * Handle exit-by-umount in fuse_read_cmd()
1449 2005-11-29  Miklos Szeredi <miklos@szeredi.hu>
1451         * Check if '-msoft-float' option is supported by compiler when
1452         configuring for a 2.4.x kernel.  Bug report by Mark Haney
1454         * In multithreaded loop send a TERM signal to the main thread if
1455         one of the other threads exit.  Needed on FreeBSD for a clean exit
1456         on umount.  Should not cause any harm on Linux either
1458 2005-11-28  Miklos Szeredi <miklos@szeredi.hu>
1460         * Fix bug in 32-bit file handle compatibility
1462 2005-11-27  Miklos Szeredi <miklos@szeredi.hu>
1464         * Block TERM, INT, HUP and QUIT signals in all but the main
1465         thread.  According to POSIX it's not specified which thread will
1466         receive these signals.
1468         * Kernel changes:
1470         * Check for directory aliasing on mkdir, not just on lookup
1472         * Check for special node ID values in create+open operation
1474         * Sync with -mm: readv, writev, aio_read and aio_write methods
1475         added to file operations
1477         * Cleanups: lookup code, page offset calculation
1479         * ABI stepped to 7.4, changes:
1481         * frsize member added to fuse_kstatfs structure
1483         * added support for negative entry caching: on lowlevel API if
1484         fuse_entry_param::ino is set to zero in reply to a lookup request,
1485         the kernel will cache the dentry for the specified amount of time.
1487         * libfuse: added 'negative_timeout' option: specifies how much
1488         negative entries should be cached.  Default is zero, to be
1489         compatible with prior versions
1491 2005-11-22  Miklos Szeredi <miklos@szeredi.hu>
1493         * Add detection of mainline FUSE code in running kernel
1495 2005-11-21  Miklos Szeredi <miklos@szeredi.hu>
1497         * Don't use async cancelation in multithreaded loop.  This makes
1498         it more portable to systems where read() is not async cancel safe.
1499         Report from Andriy Gapon
1501 2005-11-20  Miklos Szeredi <miklos@szeredi.hu>
1503         * Warn if API version 11 compatibility is requested
1505 2005-11-17  Miklos Szeredi <miklos@szeredi.hu>
1507         * More FreeBSD merge
1509         * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in
1510         them, because it corrupts /etc/mtab.  Found by Thomas Biege
1511         CVE-2005-3531
1513         * libfuse: don't use system() to invoke 'fusermount -u ...'
1514         because it breaks mountpoints with spaces in them into multiple
1515         arguments
1517 2005-11-16  Miklos Szeredi <miklos@szeredi.hu>
1519         * Merge library part of FreeBSD port.  Patch by Csaba Henk
1521 2005-11-11  Miklos Szeredi <miklos@szeredi.hu>
1523         * Use 64bit type for file handle, so the full range supported by
1524         the kernel interface is available to applications
1526 2005-11-10  Miklos Szeredi <miklos@szeredi.hu>
1528         * Moved mountpoint argument checking from fuse_parse_cmdline() to
1529         fuse_mount() in preparation to FreeBSD merge.
1531 2005-11-08  Miklos Szeredi <miklos@szeredi.hu>
1533         * Remove unneeded close() from fuse_teardown().  Spotted by Csaba
1534         Henk.
1536 2005-11-07  Miklos Szeredi <miklos@szeredi.hu>
1538         * Make the statfs change backwards compatible.
1540 2005-11-06  Miklos Szeredi <miklos@szeredi.hu>
1542         * Change ->statfs() method to use 'struct statvfs' instead of
1543         'struct statfs'.  This makes the API more portable since statvfs()
1544         is defined by POSIX.
1546 2005-10-28  Miklos Szeredi <miklos@szeredi.hu>
1548         * Add fgetattr() method, which currently will only be called after
1549         a successful call to a create() method.
1551 2005-10-26  Miklos Szeredi <miklos@szeredi.hu>
1553         * Change kernel ABI version to 7.3
1555         * Add ACCESS operation.  This is called from the access() system
1556         call if 'default_permissions' mount option is not given, and is
1557         not called on kernels 2.4.*
1559         * Add atomic CREATE+OPEN operation.  This will only work with
1560         2.6.15 (presumably) or later Linux kernels.
1562         * Add ftruncate() method.  This will only work with 2.6.15
1563         (presumably) or later Linux kernels.
1565         * Fix kernel module compile if kernel source and build directories
1566         differ.  Report and initial patch by John Eastman
1568 2005-10-18  Miklos Szeredi <miklos@szeredi.hu>
1570         * lib: optimize buffer reallocation in fill_dir.
1572 2005-10-17  Miklos Szeredi <miklos@szeredi.hu>
1574         * Released 2.4.1
1576 2005-10-14  Miklos Szeredi <miklos@szeredi.hu>
1578         * libfuse: add debug for write result (by Shaun Jackman) and
1579         warnings for too large read/write result
1581 2005-10-11  Miklos Szeredi <miklos@szeredi.hu>
1583         * Spelling fixes, thanks to Ioannis Barkas
1585 2005-10-10  Miklos Szeredi <miklos@szeredi.hu>
1587         * fuse_common.h: use extern "C".  Thanks to Valient Gough for the
1588         patch
1590 2005-10-07  Miklos Szeredi <miklos@szeredi.hu>
1592         * highlevel-lib: init() and destroy() methods didn't have an
1593         initialized fuse_context.  Bug reported by Tim Stoakes
1595 2005-10-04  Miklos Szeredi <miklos@szeredi.hu>
1597         * Released 2.4.0
1599 2005-10-03  Miklos Szeredi <miklos@szeredi.hu>
1601         * Add documentation to fuse_lowlevel.h
1603         * API cleanups:
1605         * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME
1607         * Move fuse_mount() and fuse_unmount() to fuse_common.h
1609         * Change the return type of fuse_reply_none() from int to void.
1611 2005-09-30  Miklos Szeredi <miklos@szeredi.hu>
1613         * kernel: NFS exporting leaked dentries.  Bug found and fixed by
1614         Akshat Aranya.
1616 2005-09-29  Miklos Szeredi <miklos@szeredi.hu>
1618         * fusermount: fix error message, when unable to open /dev/fuse.
1619         Report by Balázs Pozsár
1621 2005-09-28  Miklos Szeredi <miklos@szeredi.hu>
1623         * UClibc fixes from Christian Magnusson
1625 2005-09-27  Miklos Szeredi <miklos@szeredi.hu>
1627         * Added NAME="%k" to util/udev.rules.  Fix by Mattias Wadman.
1629 2005-09-26  Miklos Szeredi <miklos@szeredi.hu>
1631         * Released 2.4.0-rc1
1633 2005-09-26  Miklos Szeredi <miklos@szeredi.hu>
1635         * fusermount: allow user umount in the case when /etc/mtab is a
1636         symlink to /proc/mounts.  Reported by Balázs Pozsár.
1638 2005-09-23  Miklos Szeredi <miklos@szeredi.hu>
1640         * Check for special node ID values in lookup and creation
1642 2005-09-22  Miklos Szeredi <miklos@szeredi.hu>
1644         * Slight optimization in returning EINVAL error in case of an open
1645         with O_DIRECT flag.
1647 2005-09-20  Miklos Szeredi <miklos@szeredi.hu>
1649         * Remove '--enable-auto-modprobe' configure flag.  Module
1650         auto-loading is now handled by the kernel.
1652 2005-09-15  Miklos Szeredi <miklos@szeredi.hu>
1654         * Install UDEV rule file, so /dev/fuse is created with mode 0666.
1655         Help from Jens M. Noedler.
1657 2005-09-14  Miklos Szeredi <miklos@szeredi.hu>
1659         * Add memory cleanup on thread exit
1661 2005-09-13  Miklos Szeredi <miklos@szeredi.hu>
1663         * Set umask to zero in fusexmp and fusexmp_fh, so that
1664         files/directories are created with the requested mode.
1666 2005-09-12  Miklos Szeredi <miklos@szeredi.hu>
1668         * Don't ignore read error in multithreaded loop
1670 2005-09-08  Miklos Szeredi <miklos@szeredi.hu>
1672         * Released 2.4.0-pre2
1674 2005-09-08  Miklos Szeredi <miklos@szeredi.hu>
1676         * Revert lock and access operations.  Postpone these until 2.5.
1678 2005-09-02  Miklos Szeredi <miklos@szeredi.hu>
1680         * Fix compile warning on 2.6.13 and later
1682         * Fix compilation on old kernels
1684 2005-08-19  Miklos Szeredi <miklos@szeredi.hu>
1686         * lib: always refresh directory contents after rewinddir() to
1687         conform to SUS.  Bug found by John Muir.
1689 2005-08-15  Miklos Szeredi <miklos@szeredi.hu>
1691         * Released 2.4.0-pre1
1693 2005-08-14  Miklos Szeredi <miklos@szeredi.hu>
1695         * lib: cleaned up (or messed up, depending on your POV) the low
1696         level library API.  Hopefully this is close to the final form.
1698 2005-08-05  Miklos Szeredi <miklos@szeredi.hu>
1700         * fusermount: don't allow empty mountpoint argument, which defeats
1701         automatic umounting in fuse_main().  Bugreport by Václav Jůza
1703 2005-08-03  Miklos Szeredi <miklos@szeredi.hu>
1705         * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler
1706         option is used (Paul Alfille).
1708 2005-08-02  Miklos Szeredi <miklos@szeredi.hu>
1710         * highlevel-lib: added mount options "attr_timeout" and
1711         "entry_timeout".  These options control the length of time file
1712         attributes and entries (names) are cached.  Both default to 1.0
1713         second.
1715         * kernel: correctly handle zero timeout for attributes and entries
1717 2005-08-01  Miklos Szeredi <miklos@szeredi.hu>
1719         * Added missing symbols to versionscript (Joshua J. Berry)
1721         * kernel: implement two flags, open can set: 'direct_io' and
1722         'keep_cache'.  These correspond exactly to mount options
1723         'direct_io' and 'kernel_cache', but allow a per-open setting.
1725         * Move 'direct_io' and 'kernel_cache' mount option handling to
1726         userspace.  For both mount options, if the option is given, then
1727         the respective open flag is set, otherwise the open flag is left
1728         unmodified (so the filesystem can set it).
1730         * lib (highlevel): make open method optional
1732 2005-07-28  Miklos Szeredi <miklos@szeredi.hu>
1734         * kernel: invalidate attributes for read/readdir/readlink
1735         operations
1737         * kernel: detect newer UML kernels
1739 2005-07-26  Miklos Szeredi <miklos@szeredi.hu>
1741         * Make the installation path of fuse.ko and mount.fuse
1742         configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH
1743         environment variables.  Requirement and help from Csaba Henk.
1745 2005-07-22  Miklos Szeredi <miklos@szeredi.hu>
1747         * Fix bug, that causes filesystem requests to hang when unique
1748         request counter becomes negative.  This happens after
1749         2,147,483,648 operations, so most people won't care.  Thanks to
1750         Franco Broi for the report and testing.
1752 2005-07-21  Miklos Szeredi <miklos@szeredi.hu>
1754         * Don't change mtime/ctime/atime to local time on read/write.
1755         Bug reported by Ben Grimm
1757         * Install fuse_common.h and fuse_lowlevel.h.  Report by Christian
1758         Magnusson
1760         * fusermount: use getopt_long() for option parsing.  It allows the
1761         use of '--' to stop argument scanning, so fusermount can now
1762         operate on directories whose names begin with a '-'.  Patch by
1763         Adam Connell
1765 2005-07-15  Miklos Szeredi <miklos@szeredi.hu>
1767         * fusermount: add '-v', '--version' and '--help' options
1769         * add inode based API
1771 2005-07-12  Miklos Szeredi <miklos@szeredi.hu>
1773         * lib: don't block signals in worker threads.  Problem noticed by
1774         Usarin Heininga
1776 2005-07-07  Miklos Szeredi <miklos@szeredi.hu>
1778         * lib: don't allow both 'allow_other' and 'allow_root' options to
1779         be given
1781 2005-07-06  Miklos Szeredi <miklos@szeredi.hu>
1783         * fusermount: check if mountpoint is empty (only '.' and '..' for
1784         directories, and size = 0 for regular files).  If "nonempty"
1785         option is given, omit this check.  This is useful, so users don't
1786         accidentally hide data (e.g. from backup programs).  Thanks to
1787         Frank van Maarseveen for pointing this out.
1789         * kernel: check if mandatory mount options ('fd', 'rootmode',
1790         'user_id', 'group_id') are all given
1792         * lib: simplify 'readdir_ino' handling
1794         * lib: add mount options 'umask=M', 'uid=N', 'gid=N'
1796 2005-07-03  Miklos Szeredi <miklos@szeredi.hu>
1798         * kernel: clean up 'direct_io' code
1800 2005-06-28  Miklos Szeredi <miklos@szeredi.hu>
1802         * Add 'mount.fuse' written by Petr Klima
1804         * '/dev/fuse' is created by 'make install' if does not yet exist
1806 2005-06-20  Miklos Szeredi <miklos@szeredi.hu>
1808         * Fix UCLIBC compile error.  Patch by Christian Magnusson
1810 2005-06-08  Miklos Szeredi <miklos@szeredi.hu>
1812         * Enable the auto-loading of the module via access to the
1813         corresponding device file.  Patch by Takashi Iwai.
1815         * Allow mounting a regular file (over a regular file) for
1816         unprivleged users.
1818         * Do not create temporary device file.  Require "/dev/fuse" to
1819         exist, and be readable/writable by the mounting user.
1821 2005-06-02  Miklos Szeredi <miklos@szeredi.hu>
1823         * Released 2.3.0
1825 2005-06-02  Miklos Szeredi <miklos@szeredi.hu>
1827         * Fix serious information leak: if the filesystem returns a short
1828         byte count to a read request, and there are non-zero number of
1829         pages which are not filled at all, these pages will not be zeroed.
1830         Hence the user can read out previous memory contents.  Found by
1831         Sven Tantau.
1833 2005-05-27  Miklos Szeredi <miklos@szeredi.hu>
1835         * Add "readdir_ino" mount option, which tries to fill in the d_ino
1836         field in struct dirent.  This mount option is ignored if "use_ino"
1837         is used.  It helps some programs (e.g. 'pwd' used over NFS from a
1838         non-Linux OS).  Patch by David Shaw.
1840 2005-05-12  Miklos Szeredi <miklos@szeredi.hu>
1842         * Released 2.3-rc1
1844 2005-05-12  Miklos Szeredi <miklos@szeredi.hu>
1846         * File save in krusader and other editors doesn't work with sshfs,
1847         because open() is interrupted by a periodic signal, and open()
1848         restarts forever, without any progress.  This could just be fixed
1849         in open(), but the problem is more generic: if signals are
1850         received more often than the filesystem can get the request to
1851         userspace, it will never finish.  This is probably only a
1852         theoretical problem, nevertheless I'm removing the possibility to
1853         interrupt requests with anything other than SIGKILL, even before
1854         being sent to userspace.  Bugreport by Eduard Czimbalmos.
1856 2005-05-09  Miklos Szeredi <miklos@szeredi.hu>
1858         * libfuse: add "tree_lock" rwlock, that is locked for write in
1859         rename, unlink and rmdir, and locked for read in all other
1860         operations.  This should fix the rename/release race reported by
1861         Valient Gough and others.  The solution is very coarse, a finer
1862         grained locking scheme could be implemented, but it would be much
1863         more complex.  Let's see whether this is good enough.
1865 2005-05-09  Miklos Szeredi <miklos@szeredi.hu>
1867         * Released 2.3-pre7
1869 2005-05-08  Miklos Szeredi <miklos@szeredi.hu>
1871         * Better fix for out of order FORGET messages.  Now the
1872         LOOKUP/FORGET messages are balanced exactly (one FORGET can
1873         balance many lookups), so the order no longer matters.  This
1874         changes the kernel ABI slightly, but the library remains backward
1875         compatible.
1877 2005-05-06  Miklos Szeredi <miklos@szeredi.hu>
1879         * Fix abort for out of order FORGET messages.  Again.  Spotted by
1880         Franco Broi again.  Sorry :)
1882 2005-04-29  Miklos Szeredi <miklos@szeredi.hu>
1884         * Released 2.3-pre6
1886 2005-04-29  Miklos Szeredi <miklos@szeredi.hu>
1888         * Make fusermount work with fuse kernel modules not yet supporting
1889         the "group_id" option (added for the purpose of stricter
1890         permission checking).
1892 2005-04-28  Miklos Szeredi <miklos@szeredi.hu>
1894         * Check for hard-linked directories in lookup.  This could cause
1895         problems in the VFS, which assumes that such objects never exist.
1897         * Make checking of permission for other users more strict.  Now
1898         the same privilege is required for the mount owner as for ptrace
1899         on the process performing the filesystem operation.
1901 2005-04-23  Miklos Szeredi <miklos@szeredi.hu>
1903         * Released 2.3-pre5
1905 2005-04-22  Miklos Szeredi <miklos@szeredi.hu>
1907         * Add -msoft-float to kernel module compile flags for 2.4.X.  This
1908         is needed on certain architectures.  Report from Chris Kirby
1910         * Fix buggy behavior of open(..., O_CREAT|O_EXCL) if interrupted.
1911         Reported by David Shaw
1913         * Remove "allow_root" option from kernel module, and implement
1914         it's functionality in the library
1916         * Fix Oops caused by premature release of fuse_conn.  Clean up
1917         related code, to be more readable
1919         * Sendfile should not use page cache if "direct_io" mount option
1920         is given
1922 2005-04-08  Miklos Szeredi <miklos@szeredi.hu>
1924         * Fix Oops in case of nfs export.  Spotted by David Shaw
1926         * Fix another Oops in case of write over nfs with direct_io turned
1927         on.  Again spotted by David Shaw
1929 2005-04-07  Miklos Szeredi <miklos@szeredi.hu>
1931         * Released 2.3-pre4
1933 2005-04-07  Miklos Szeredi <miklos@szeredi.hu>
1935         * lib: finalized new readdir() interface, which now supersedes the
1936         getdir() method.
1938 2005-04-03  Miklos Szeredi <miklos@szeredi.hu>
1940         * Released 2.3-pre3
1942 2005-04-03  Miklos Szeredi <miklos@szeredi.hu>
1944         * Implement backward compatibility with version 5 kernel ABI
1946 2005-04-01  Miklos Szeredi <miklos@szeredi.hu>
1948         * Released 2.3-pre2
1950 2005-04-01  Miklos Szeredi <miklos@szeredi.hu>
1952         * kernel: fix dirent offset handling
1954         * lib: add readdir and releasedir methods
1956         * lib: use fh field of fuse_file_info in opendir, readdir,
1957         releasedir and fsyncdir methods
1959         * lib: check kernel API version and bail out of it's old.  This
1960         will be properly fixed in the next release
1962 2005-03-31  Miklos Szeredi <miklos@szeredi.hu>
1964         * Released 2.3-pre1
1966 2005-03-31  Miklos Szeredi <miklos@szeredi.hu>
1968         * kernel API: add padding to structures, so 64bit and 32bit
1969         compiler will return the same size
1971         * kernel API: add offset field to fuse_dirent.  This will allow
1972         more sophisticated readdir interface for userspace
1974         * kernel API: change major number to 6
1976         * kernel: fix warnings on 64bit archs
1978         * kernel: in case of API version mismatch, return ECONNREFUSED
1980 2005-03-24  Miklos Szeredi <miklos@szeredi.hu>
1982         * kernel: trivial cleanups
1984 2005-03-21  Miklos Szeredi <miklos@szeredi.hu>
1986         * Add fsyncdir() operation
1988 2005-03-19  Miklos Szeredi <miklos@szeredi.hu>
1990         * kernel: add locking to background list (fixes previous fix)
1992 2005-03-18  Miklos Szeredi <miklos@szeredi.hu>
1994         * kernel: fix bug which could cause leave busy inodes after
1995         unmount, and Oops.
1997 2005-03-08  Miklos Szeredi <miklos@szeredi.hu>
1999         * examples: add -lpthread to link flags to work around valgrind
2000         quirk
2002         * lib: don't exit threads, so cancelation doesn't cause segfault
2004 2005-03-04  Miklos Szeredi <miklos@szeredi.hu>
2006         * kernel: fix nasty bug which could cause an Oops under certain
2007         situations.  Found by Magnus Johansson
2009 2005-02-28  Miklos Szeredi <miklos@szeredi.hu>
2011         * libfuse: added opendir() method.  This can be used in case
2012         permission checking in getdir() is too late.  Thanks to Usarin
2013         Heininga for pointing out this deficiency
2015         * libfuse: added init() and destroy() methods to fuse_operations
2017         * kernel: llseek() method for files and directories made explicit
2019         * kernel: fixed inode leak in NFS export in case of nodeid
2020         wrapping
2022 2005-02-15  Miklos Szeredi <miklos@szeredi.hu>
2024         * libfuse: clean up some unitialized memory found with valgrind
2026         * Add -lpthread to Libs in fuse.pc.  Valgrind seems to need an
2027         explicitly linked libpthread for applications
2029 2005-02-10  Miklos Szeredi <miklos@szeredi.hu>
2031         * fusermount: set umask, otherwise /etc/mtab will have
2032         unpredictable permission.  Spotted by Jindrich Kolorenc
2034         * fusermount: set owner and group of /etc/mtab to original values
2035         on unmount
2037         * libfuse: add 'use_ino' option to help.  Patch by Valient Gough
2039 2005-02-07  Miklos Szeredi <miklos@szeredi.hu>
2041         * Cleaned up directory reading (temporary file is not used)
2043 2005-02-02  Miklos Szeredi <miklos@szeredi.hu>
2045         * Released 2.2
2047 2005-02-02  Miklos Szeredi <miklos@szeredi.hu>
2049         * Fix possible race when operation is interrupted
2051 2005-01-28  Miklos Szeredi <miklos@szeredi.hu>
2053         * Fix compilation on 2.6.7
2055 2005-01-26  Miklos Szeredi <miklos@szeredi.hu>
2057         * Released 2.2-pre6
2059 2005-01-26  Miklos Szeredi <miklos@szeredi.hu>
2061         * Fix bug in link() operation which caused the wrong path to be
2062         passed as the first argument.  Found by Anton Altaparmakov
2064 2005-01-21  Miklos Szeredi <miklos@szeredi.hu>
2066         * LIB: fix double reply in readdir operation
2068         * fusermount: fix uid checking bug.  Patch by Adam Connell
2070         * KERNEL: fix compile on various RedHat patched 2.4 kernels.
2071         Patch by Keshava Gowda
2073 2005-01-20  Miklos Szeredi <miklos@szeredi.hu>
2075         * KERNEL: provide correct llseek semantics for fuse device (fixes
2076         a bug on Progeny 2.4.20 kernel).  Reported by Valient Gough
2078 2005-01-20  Miklos Szeredi <miklos@szeredi.hu>
2080         * Released 2.2-pre5 (matches kernel 2.6.11-rc1-mm2)
2082 2005-01-18  Miklos Szeredi <miklos@szeredi.hu>
2084         * KERNEL ABI: remove GETDIR operation, and add OPENDIR, READDIR
2085         and RELEASEDIR.  This ends the ugly hack of passing a file
2086         descriptor to the kernel, and actually makes the code simpler.
2088 2005-01-17  Miklos Szeredi <miklos@szeredi.hu>
2090         * Released 2.2-pre4
2092 2005-01-17  Miklos Szeredi <miklos@szeredi.hu>
2094         * fusermount: remove capability setting, which was the cause of
2095         problems for some users.  It seems that FS related capabilities
2096         are removed by setfsuid(), so this isn't even needed.
2098 2005-01-15  Miklos Szeredi <miklos@szeredi.hu>
2100         * fix compilation on 2.4 kernels (reported by Valient Gough)
2102         * fix failure to unmount bug (found by David Shaw)
2104         * fusermount: improve parsing of /etc/fuse.conf
2106 2005-01-13  Miklos Szeredi <miklos@szeredi.hu>
2108         * Remove 'mount_max' and 'user_allow_other' module options.  These
2109         are now checked by fusermount, and can be set in /etc/fuse.conf
2111         * KERNEL: change check for fsid == 0 to capable(CAP_DAC_OVERRIDE)
2113 2005-01-11  Miklos Szeredi <miklos@szeredi.hu>
2115         * KERNEL: fix possible inode allocation problem, where
2116         sizeof(struct inode) is not aligned (found by Mike Waychison)
2118         * KERNEL: use new follow_link/put_link methods
2120         * KERNEL: cosmetic fixes
2122 2005-01-10  Miklos Szeredi <miklos@szeredi.hu>
2124         * Released 2.2-pre3
2126 2005-01-10  Miklos Szeredi <miklos@szeredi.hu>
2128         * Add missing code that was accidently left out
2130 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2132         * Released 2.2-pre2
2134 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2136         * Change "uid" mount option to "user_id" to avoid confusion with a
2137         mount option "uid" commonly used by many filesystems
2139 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2141         * Released 2.2-pre1
2143 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2145         * If FUSE is configured in the kernel, don't build it by default
2147 2005-01-07  Miklos Szeredi <miklos@szeredi.hu>
2149         * Compile fix by Christian Magnusson
2151 2005-01-05  Miklos Szeredi <miklos@szeredi.hu>
2153         * Fix compilation for 2.6.{0-5} kernels
2155 2005-01-04  Miklos Szeredi <miklos@szeredi.hu>
2157         * KERNEL: if request is interrupted, still keep reference to used
2158         inode(s) and file, so that FORGET and RELEASE are not sent until
2159         userspace finishes the request.
2161         * remove /{sys,proc}/fs/fuse/version, and instead add an INIT
2162         request with the same information, which is more flexible,
2163         simpler, works on embedded systems.
2165 2004-12-16  Miklos Szeredi <miklos@szeredi.hu>
2167         * KERNEL ABI: update interface to make it independent of type
2168         sizes.  This will help on 64 bit architectures which can run
2169         legacy 32 bit applications.
2171         * KERNEL ABI: add "len" field to request headers.  This will allow
2172         sending/receiving requests in multiple chunks.
2174         * KERNEL: handle file type change more intelligently
2176         * LIB: "-o debug" option should disable backgrounding (fix by
2177         Fabien Reygrobellet)
2179 2004-12-13  Miklos Szeredi <miklos@szeredi.hu>
2181         * KERNEL: invalidate dentry/attributes if interrupted request
2182         could leave filesystem in an unknown state.
2184 2004-12-12  Miklos Szeredi <miklos@szeredi.hu>
2186         * KERNEL: lots of cleanups related to avoiding possible deadlocks.
2187         These will cause some regressions, but stability is considered
2188         more important.  If any of these features turns out to be
2189         important, it can be readded with the deadlock problems addressed.
2191         * Make all requests interruptible (only with SIGKILL currently).
2192         This can be used to break any deadlock produced by the userspace
2193         filesystem accessing it's own exported files.  The RELEASE request
2194         is special, because if it's interrupted before sending it to
2195         userspace it is still sent, but the reply is not awaited.
2197         * If request is interrupted before being sent to userspace, and if
2198         it hasn't yet got any side effects, it is always restarted,
2199         regardless of the SA_RESTART flag.  This makes these interruptions
2200         transparent to the process.
2202         * Remove shared-writable mmap support, which was prone to an
2203         out-of-memory deadlock situation
2205         * Remove INVALIDATE userspace initiated request
2207         * Make readpages() synchronous.  Asynchronous requests are
2208         deadlock prone, since they cannot be interrupted.
2210         * Add readv/writev support to fuse device operations
2212         * Remove some printks, which userspace FS can use for a DoS
2213         against syslog
2215         * Remove 'large_read' mount option from 2.6 in kernel, check it in
2216         fusermount instead
2218         * LIB: improve compatibility with a fuse.h header installed in
2219         ${prefix}/include which in turn includes the real header.
2221         * LIB: improve compatibility by defining fuse_main() (which is now
2222         not used), so old configure scripts find it.
2224 2004-12-10  Miklos Szeredi <miklos@szeredi.hu>
2226         * When mounting on a subdirectory of / don't duplicate slashes at
2227         the beggining of path (spotted by David Shaw)
2229 2004-12-09  Miklos Szeredi <miklos@szeredi.hu>
2231         * Fix bug causing garbage in mount options (spotted by David Shaw)
2233 2004-12-07  Miklos Szeredi <miklos@szeredi.hu>
2235         * Add 'writepage' flag to 'fuse_file_info'.
2237         * More comments in fuse.h
2239         * Get rid of double underscores
2241 2004-12-04  Miklos Szeredi <miklos@szeredi.hu>
2243         * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config
2245         * helper.c: add -ho option, which only displays the options not
2246         the usage header.  This can be used by filesystems which have
2247         their own options.
2249 2004-12-03  Miklos Szeredi <miklos@szeredi.hu>
2251         * Add source compatibility to 2.1 and 1.1 APIs.  To select betwen
2252         versions simply define FUSE_USE_VERSION to 22, 21 or 11 before
2253         including the fuse header
2255         * Add binary compatibility to 2.1 version of library with symbol
2256         versioning
2258 2004-12-03  Miklos Szeredi <miklos@szeredi.hu>
2260         * Released 2.1
2262 2004-12-01  Miklos Szeredi <miklos@szeredi.hu>
2264         * kernel: clean up writing functions
2266         * kernel: no allocation on write in direct_io mode
2268         * move linux/fuse.h to fuse_kernel.h
2270 2004-11-30  Miklos Szeredi <miklos@szeredi.hu>
2272         * kernel: clean up reading functions
2274 2004-11-29  Miklos Szeredi <miklos@szeredi.hu>
2276         * kernel: make readpage() uninterruptible
2278         * kernel: check readonly filesystem flag in fuse_permission
2280         * lib: don't die if version file not found and new style device
2281         exists
2283         * lib: add '-r' option, which is short for '-o ro'
2285         * fusermount: simplify device opening
2287         * kernel: when direct_io is turend on, copy data directly to
2288         destination without itermediate buffer.  More efficient and safer,
2289         since no allocation is done.
2291         * fusermount: fix warning if fuse module is not loaded
2293         * kernel: use /dev/fuse on 2.4 too
2295 2004-11-26  Miklos Szeredi <miklos@szeredi.hu>
2297         * libfuse API change: open, read, write, flush, fsync and release
2298         are passed a 'struct fuse_file_info' pointer containing the open
2299         flags (open and release), and the file handle.  Verion changed to
2300         3.0.
2302 2004-11-23  Miklos Szeredi <miklos@szeredi.hu>
2304         * More cleanups in the kernel
2306         * The 10,229 charater device number has been assigned for FUSE
2308         * Version file checking fix (reported by Christian Magnusson)
2310         * fusermount: opening the fuse device now doesn't need /sys.
2312         * Optimize reading by controlling the maximum readahead based on
2313         the 'max_read' mount option
2315         * fixes for UCLIBC (Christian Magnusson)
2317 2004-11-19  Miklos Szeredi <miklos@szeredi.hu>
2319         * Cleaned up kernel in preparation for merge into mainline:
2321         * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version
2323         * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev
2325         * __user annotations for sparse
2327         * allocate individual pages instead of kmalloc in fuse_readdir,
2328         fuse_read and fuse_write.
2330         * Fix NFS export in case "use_ino" mount option is given
2332         * Make libfuse and fusermount compatible with future versions
2334         * fusermount: properly add mount options to /etc/mtab
2336 2004-11-15  Miklos Szeredi <miklos@szeredi.hu>
2338         * fusermount: do not resolve last component of mountpoint on if it
2339         is '.' or '..'.  This new path resolvation is now done on mount as
2340         well as unmount.  This enables relative paths to work on unmount.
2342         * fusermount: parse common mount options like "ro", "rw", etc...
2344         * Allow module params to be changed through sysfs
2346 2004-11-14  Miklos Szeredi <miklos@szeredi.hu>
2348         * Released 2.1-pre1
2350 2004-11-14  Miklos Szeredi <miklos@szeredi.hu>
2352         * Fix bug in fuse_readpages() causing Oops in certain situations.
2353         Bug found by Vincenzo Ciancia.
2355         * Fix compilation with kernels versions > 2.6.9.
2357 2004-11-11  Miklos Szeredi <miklos@szeredi.hu>
2359         * Check kernel interface version in fusermount to prevent
2360         strangeness in case of mismatch.
2362         * No need to allocate fuse_conn until actual mount happens
2364         * Fix potential race between umount and fuse_invalidate
2366         * Check superblock of proc file in addition to inode number
2368         * Fix race between request_send_noreply() and fuse_dev_release()
2370 2004-11-10  Miklos Szeredi <miklos@szeredi.hu>
2372         * Separate configure for the kernel directory
2374         * Don't allow write to return more than 'count'
2376         * Extend kernel interface for future use
2378 2004-11-09  Miklos Szeredi <miklos@szeredi.hu>
2380         * Fix 'makeconf.sh' to use autoreconf if available
2382 2004-11-08  Miklos Szeredi <miklos@szeredi.hu>
2384         * Add ino argument to 'fuse_dirfil_t'.  NOTE: This breaks source
2385         compatibility with earlier versions.  To compile earier versions
2386         just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
2387         Do not use the "use_ino" mount flag with filesystems compiled with
2388         FUSE_DIRFIL_COMPAT.
2390         * Add pkg-config support.  To compile a FUSE based filesystem you
2391         can do  "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
2392         or similar.  Note, that the PKG_CONFIG_PATH environment variable
2393         usually needs to be set to "/usr/local/lib/pkgconfig".
2395         * fuse.h is now installed in ${prefix}/include/fuse/
2397 2004-11-02  Miklos Szeredi <miklos@szeredi.hu>
2399         * Added "use_ino" mount option.  This enables the filesystems to
2400         set the st_ino field on files
2402 2004-11-01  Miklos Szeredi <miklos@szeredi.hu>
2404         * Fix compile problems with ancient (<=2.4.18) kernels (reported
2405         by Jeremy Smith)
2407         * Add "allow_root" mount option.  Patch by Yaroslav Rastrigin
2409         * Clear the 'exited' flag when mail loop is finished
2411 2004-10-28  Miklos Szeredi <miklos@szeredi.hu>
2413         * Make xattr functions work under 2.6 (bug found by Vincenzo
2414         Ciancia)
2416 2004-10-26  Miklos Szeredi <miklos@szeredi.hu>
2418         * Reset request in fuse_flush() (bugreport by David Shaw)
2420 2004-10-21  Miklos Szeredi <miklos@szeredi.hu>
2422         * fuse_main() now does not exit on error, rather it returns an
2423         error code
2425         * Exported __fuse_setup() and __fuse_teardown() functions, which
2426         make it easier to implement a custom event loop.
2428         * Use daemon() call to background the filesystem after mounting.
2429         This function closes the standard input, output and error and
2430         changes the current working directory to "/".
2432 2004-10-14  Miklos Szeredi <miklos@szeredi.hu>
2434         * Released 1.9
2436 2004-10-09  Miklos Szeredi <miklos@szeredi.hu>
2438         * Don't allow fuse_flush() to be interrupted (bug found by David
2439         Shaw)
2441 2004-09-27  Miklos Szeredi <miklos@szeredi.hu>
2443         * Add PID to fuse_context.  Patch by Steven James
2445         * Change file handle type to 'unsigned long' in kernel interface
2447 2004-09-22  Miklos Szeredi <miklos@szeredi.hu>
2449         * A slight API change: fuse_get_context() doesn't need the "fuse"
2450         pointer, but the returned context contains it instead.  The
2451         fuse_get() function is not needed anymore, so it's removed.
2453         * Fix mounting and umounting FUSE filesystem under another FUSE
2454         filesystem by non-root (bug spotted by Valient Gough)
2456 2004-09-21  Miklos Szeredi <miklos@szeredi.hu>
2458         * Fix deadlock in case of memory allocation failure.  Patch by
2459         Christian Magnusson
2461 2004-09-16  Miklos Szeredi <miklos@szeredi.hu>
2463         * Check memory allocation failures in libfuse
2465 2004-09-14  Miklos Szeredi <miklos@szeredi.hu>
2467         * Check temporary file creation failure in do_getdir().  Bug
2468         spotted by Terje Oseberg
2470 2004-09-13  Miklos Szeredi <miklos@szeredi.hu>
2472         * Allow "large_read" option for 2.6 kernels but warn of deprecation
2474         * Make requests non-interruptible so race with FORGET is avoided.
2475         This is only a temporary solution
2477         * Support compiling FUSE kernel module on 2.4.x UML kernels
2479 2004-09-09  Miklos Szeredi <miklos@szeredi.hu>
2481         * Fix bug in case two FORGETs for the same node are executed in
2482         the wrong order.  Bug spotted and endured for months by Franco
2483         Broi, and logfile for solution provided by Terje Oseberg
2485 2004-09-01  Miklos Szeredi <miklos@szeredi.hu>
2487         * Add -D_REENTRANT to the compile flags
2489         * Add documentation of fuse internals by Terje Oseberg
2491 2004-08-16  Miklos Szeredi <miklos@szeredi.hu>
2493         * Change release method to be non-interruptible.  Fixes bug
2494         causing missing release() call when program which has opened files
2495         is killed (reported by Franco Broi and David Shaw)
2497 2004-07-29  Miklos Szeredi <miklos@szeredi.hu>
2499         * Add fuse_invalidate() to library API
2501 2004-07-26  Miklos Szeredi <miklos@szeredi.hu>
2503         * Check permissions in setattr if 'default_permissions' flag is
2504         set.  Bug spotted by Damjan Lango
2506 2004-07-24  Miklos Szeredi <miklos@szeredi.hu>
2508         * 'large_read' mount option removed for 2.6 kernels, since the
2509         default (dynamic read size) is better
2511         * Extend kernel API with file handles.  A file handle is returned
2512         by open, and passed to read, write, flush, fsync and release.
2513         This is currently only used for debug output in the library.
2515         * Security changes:
2517         * Change the current directory to the mountpoint before checking
2518         the permissions and mount filesystem on "."
2520         * By default don't modprobe the fuse module for non-root.  The old
2521         behavior can be restored with the '--enable-auto-modprobe' flag of
2522         ./configure
2524         * By default don't allow shared writable mappings for non-root.
2525         The old behavior can be restored with the 'user_mmap=1' module
2526         parameter
2528 2004-07-23  Miklos Szeredi <miklos@szeredi.hu>
2530         * Clean up mount option passing to fusermount and to fuse_new()
2531         BEWARE: this changes the userspace API slightly, and the command
2532         line usage of programs using fuse_main()
2534 2004-07-20  Miklos Szeredi <miklos@szeredi.hu>
2536         * Optimize reading under 2.6 kernels by issuing multiple page
2537         asynchronous read requests
2539 2004-07-18  Miklos Szeredi <miklos@szeredi.hu>
2541         * Only use redirty_page_for_writepage() for kernels >= 2.6.6
2543 2004-07-16  Miklos Szeredi <miklos@szeredi.hu>
2545         * Separate directory entry and inode attribute validity timer
2547         * New write semaphore to stop page writeback during truncate
2549         * Fsync now waits for all writes to complete before sending the
2550         request
2552         * Optimization: if a page is completely written by
2553         fuse_commit_write(), clear the dirty flag and set the uptodate
2554         flag for that page
2556         * Some memory cleanup at exit
2558 2004-07-13  Miklos Szeredi <miklos@szeredi.hu>
2560         * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
2561         disable the "hide if open" behavior of unlink/rename.
2563         * If temporary buffer allocation fails in raw read, fall back to a
2564         smaller buffer
2566 2004-07-12  Miklos Szeredi <miklos@szeredi.hu>
2568         * Fix bug in do_open() in libfuse: open count was incremented
2569         after the reply is sent so it could race with unlink/forget and
2570         cause an abort.
2572 2004-07-08  Miklos Szeredi <miklos@szeredi.hu>
2574         * When performing create or remove operation, refresh the parent's
2575         attributes on next revalidate, as i_nlink (and maybe size/time)
2576         could be inacurate.
2578         * Use redirty_page_for_writepage() in fuse_writepage() for skipped
2579         pages (2.6 only)
2581         * Set set_page_dirty address space operation (2.6 only)
2583 2004-07-06  Miklos Szeredi <miklos@szeredi.hu>
2585         * Minor fix in read:  print debug info even if read size is zero
2587 2004-07-04  Miklos Szeredi <miklos@szeredi.hu>
2589         * Fix race between truncate and writepage (fsx-linux now runs
2590         without error)
2592 2004-07-02  Miklos Szeredi <miklos@szeredi.hu>
2594         * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch
2595         by Mattias Wadman)
2597         * Added option for direct read/write (-r)
2599         * Fix revalidate time setting for newly created inodes
2601         * Remove uid==0 check for '-x' option in fusermount (kernel checks
2602         this)
2604         * fuse_main() only installs handlers for signals (out of INT, HUP,
2605         TERM, PIPE), for which no handler has yet been installed
2607         * Add module option 'user_allow_other' which if set to non-zero
2608         will allow non root user to specify the 'allow_other' mount option
2609         ('-x' option of fusermount)
2611         * Fix deadlock between page writeback completion and truncate
2612         (bug found by Valient Gough with the fsx-linux utility)
2614 2004-07-01  Miklos Szeredi <miklos@szeredi.hu>
2616         * Change passing fuse include dir to 2.6 kernel make system more
2617         robust (fixes compile problems seen on SuSE 9.1 with updated 2.6
2618         kernel)
2620 2004-06-30  Miklos Szeredi <miklos@szeredi.hu>
2622         * Acquire inode->i_sem before open and release methods to prevent
2623         concurrent rename or unlink operations.
2625         * Make __fuse_read_cmd() read only one command.  This allows
2626         multiplexing the fuse file descriptor with other event sources
2627         using select() or poll() (patch by Jeff Harris)
2629         * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)
2631 2004-06-27  Miklos Szeredi <miklos@szeredi.hu>
2633         * Fix file offset wrap around at 4G when doing large reads
2635 2004-06-24  Miklos Szeredi <miklos@szeredi.hu>
2637         * Fix memory leak in open (Valient Gough)
2639 2004-06-24  Miklos Szeredi <miklos@szeredi.hu>
2641         * Add "close after delete" support to libfuse (patch by Valient
2642         Gough)
2644         * Cancel all worker threads before exit in multithreaded mode
2646 2004-06-23  Miklos Szeredi <miklos@szeredi.hu>
2648         * Fix locking bugs
2650         * Don't send reply to RELEASE
2652         * Work with newer libtool (1.5a)
2654         * Check for st_atim member of struct stat
2656 2004-06-22  Miklos Szeredi <miklos@szeredi.hu>
2658         * No request allocation needed on inode and file release
2660 2004-06-21  Miklos Szeredi <miklos@szeredi.hu>
2662         * Fix possible inode leak in userspace in case of unfinished
2663         lookup/mknod/mkdir/symlink/link operation.
2665 2004-06-20  Miklos Szeredi <miklos@szeredi.hu>
2667         * Fix some races and cleanups in fuse_read_super()
2669 2004-06-19  Miklos Szeredi <miklos@szeredi.hu>
2671         * Requests are allocated at open time
2673 2004-06-03  Miklos Szeredi <miklos@szeredi.hu>
2675         * Build shared library as well as static (using libtool)
2677         * Change FUSE_MINOR_VERSION from 1 to 0.  I know it's illegal but
2678         there has not been a release with the previous minor number, and I
2679         hope nobody is using it for anything.
2681         * Change fuse_main(), so that default behavior is to go into
2682         background if mount is successful.  '-f' and '-d' options disable
2683         backgrounding.  This fixes the "Why does my FUSE daemon hang?"
2684         newbie complaint.
2686         * Cache ENOSYS (function not implemented) errors on *xattr, flush
2687         and fsync
2689         * Don't call getdir method from open() only from first readdir().
2690         Open is sometimes just used to store the current directory
2691         (e.g. find)
2693 2004-05-18  Miklos Szeredi <miklos@szeredi.hu>
2695         * Added flush() call
2697 2004-05-04  Miklos Szeredi <miklos@szeredi.hu>
2699         * Extended attributes support for 2.4 (patch by Cody Pisto)
2701 2004-04-20  Miklos Szeredi <miklos@szeredi.hu>
2703         * Fixed parser with modversions (Mattias Wadman)
2705 2004-04-19  Miklos Szeredi <miklos@szeredi.hu>
2707         * Added mount option parser to 2.4 build
2709 2004-04-13  Miklos Szeredi <miklos@szeredi.hu>
2711         * Replaced binary mount data with text options
2713         * Show FUSE specific mount options in /proc/mounts
2715         * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64
2717 2004-04-09  Miklos Szeredi <miklos@szeredi.hu>
2719         * Check some limits so userspace won't get too big requests
2721 2004-04-05  Miklos Szeredi <miklos@szeredi.hu>
2723         * Kill compile warning
2725         * Upgraded user-mount patch for 2.6.5
2727 2004-04-02  Miklos Szeredi <miklos@szeredi.hu>
2729         * Add detection of user-mode-linux to configure
2731 2004-03-31  Miklos Szeredi <miklos@szeredi.hu>
2733         * fixed zero size case for getxattr and listxattr
2735 2004-03-30  Miklos Szeredi <miklos@szeredi.hu>
2737         * new fusermount flag '-z': lazy unmount, default is not lazy
2739         * Extended attributes operations added (getxattr, setxattr,
2740         listxattr, removexattr)
2742 2004-03-25  Miklos Szeredi <miklos@szeredi.hu>
2744         * If filesystem doesn't define a statfs operation, then an
2745         all-zero default statfs is returned instead of ENOSYS
2747 2004-03-24  Miklos Szeredi <miklos@szeredi.hu>
2749         * Add FS_BINARY_MOUNTDATA filesystem flag for kernels > 2.6.4
2751 2004-03-09  Miklos Szeredi <miklos@szeredi.hu>
2753         * Fix for uClinux (Christian Magnusson)
2755 2004-03-02  Miklos Szeredi <miklos@szeredi.hu>
2757         * fuse_main() adds "-n progname" to the fusermount command line
2759         * More kernel interface changes:
2761         * Lookup/getattr return cache timeout values
2763 2004-02-25  Miklos Szeredi <miklos@szeredi.hu>
2765         * Clean up option parsing in fuse_main()
2767         * Added fuse_get() function which returns the fuse object created
2768         by fuse_main()
2770 2004-02-20  Miklos Szeredi <miklos@szeredi.hu>
2772         * removed old way of mounting (fusermount mountpoint program)
2774         * more kernel interface changes:
2776         * added nanosecond precision to file times
2778         * removed interface version from mount data
2780         * added /proc/fs/fuse/version which contains MAJOR.MINOR
2782 2004-02-19  Miklos Szeredi <miklos@szeredi.hu>
2784         * statfs library API changed to match other methods.  Since this
2785           is not backward compatible FUSE_MAJOR_VERSION is changed to 2
2787         * kernel interface changes follow:
2789         * statfs changed to 64 bits, added 'bavail' field
2791         * add generation number to lookup result
2793         * optimized mknod/mkdir/symlink/link (no separate lookup is
2794         needed)
2796         * rdev size increased to 32 bits for mknod
2798         * kernel interface version changed to 3.1
2800 2004-02-18  Miklos Szeredi <miklos@szeredi.hu>
2802         * user-mount upgraded for 2.6.3 kernel
2804 2004-02-17  Miklos Szeredi <miklos@szeredi.hu>
2806         * Added user-mount.2.6.2-rc3.patch
2808         * Add FS_SAFE flag to fuse filesystem
2810         * fusermount should allow (un)mounting for non-root even if not
2811         suid-root
2813 2004-02-12  Miklos Szeredi <miklos@szeredi.hu>
2815         * Remove MS_PERMISSION mount flag (that means something else now)
2817 2004-02-10  Miklos Szeredi <miklos@szeredi.hu>
2819         * Added check for i_size_read/write functions to configure.in
2820         (patch by Valient Gough)
2822 2004-02-06  Miklos Szeredi <miklos@szeredi.hu>
2824         * Fixed writing >= 2G files
2826         * Check file size on open (with generic_file_open())
2828         * Readpage calls flush_dcache_page() after storing data
2830         * Use i_size_read/write for accessing inode->i_size
2832         * Make loopback mount of a fuse file work
2834 2004-02-04  Miklos Szeredi <miklos@szeredi.hu>
2836         * Released 1.1
2838 2004-01-29  Miklos Szeredi <miklos@szeredi.hu>
2840         * Properly check if the inode exists in fuse_invalidate
2842 2004-01-27  Miklos Szeredi <miklos@szeredi.hu>
2844         * Added -q option for fusermount
2846         * fuse_unmount() now uses -q option of fusermount, so no error is
2847         printed if the cause of the program exit is that the filesystem
2848         has already been unmounted
2850         * Fix i_nlink correctness after rmdir/unlink
2852 2004-01-26  Miklos Szeredi <miklos@szeredi.hu>
2854         * Released 1.1-pre2
2856 2004-01-26  Miklos Szeredi <miklos@szeredi.hu>
2858         * Fix typo (thanks Marcos Dione)
2860         * Compile fixes for 2.4 kernels
2862 2004-01-23  Miklos Szeredi <miklos@szeredi.hu>
2864         * Fix CONFIG_MODVERSIONS compile on 2.6
2866 2004-01-22  Miklos Szeredi <miklos@szeredi.hu>
2868         * Write all pending data before a RELEASE operation
2870         * Suppress 'Bad file descriptor' warning on exit
2872         * Replaced fusermount option '-d xxx' with '-n xxx' so it doesn't
2873         get confused with '-d' of fuse_main() (sorry about this change)
2875         * New fusermount option '-l' which enables big reads.  Big reads
2876         are now disabled by default.
2878         * fuse_main() can accept fusermount arguments after a '--'
2880 2004-01-19  Miklos Szeredi <miklos@szeredi.hu>
2882         * Support for exporting filesystem over NFS (see README.NFS)
2884 2004-01-14  Miklos Szeredi <miklos@szeredi.hu>
2886         * Support non-blocking writepage on 2.6.  This makes FUSE behave
2887         much more nicely in low-memory situations
2889         * Fix 32-bit dev handling in getattr and mknod for 2.6 kernels.
2890         (Note: the mknod method does not yet use 32bit device number)
2892 2004-01-13  Miklos Szeredi <miklos@szeredi.hu>
2894         * Code cleanups
2896 2004-01-07  Miklos Szeredi <miklos@szeredi.hu>
2898         * Released 1.1-pre1
2900 2004-01-06  Miklos Szeredi <miklos@szeredi.hu>
2902         * Integrated 2.6 kernel support patch by Michael Grigoriev
2904         * Improvements and cleanups for 2.6 kernels
2906 2004-01-05  Miklos Szeredi <miklos@szeredi.hu>
2908         * Added -d option to fusermount
2910 2003-12-15  Miklos Szeredi <miklos@szeredi.hu>
2912         * Added major+minor version to library API, and minor version to
2913           kernel API
2915 2003-12-13  David McNab <david@rebirthing.co.nz>
2917         * Implemented fsync support in examples/example.py
2919         * Implemented 'fsync' and 'statfs' methods in python
2920           interface
2922 2003-12-12  Miklos Szeredi <miklos@szeredi.hu>
2924         * Make it compile on 2.4.19.
2926         * Add fsync operation (write file failed on xemacs & vi)
2928 2003-12-12  David McNab <david@rebirthing.co.nz>
2930         * Added distutils support to the python module, as per standard
2931           python development practice
2933 2003-12-11  Miklos Szeredi <miklos@szeredi.hu>
2935         * Add file locking for mount/unmount (based on patch by Valient
2936         Gough)
2938 2003-12-11  David McNab <david@rebirthing.co.nz>
2940         * Python filesystem - was broken with python2.3, now fixed:
2941            - changed PyTuple_* calls to PySequence_*, because os.lstat
2942              is no longer returning a pure tuple
2943            - changed PyInt_Check() calls to also call PyLong_Check,
2944              to cover for cases (eg os.lstat) where longs are returned
2945            - Added support for file 'release' handling, which IMO is
2946              essential since this signals to a FS that writes to a file
2947              are complete (and therefore the file can now be disposed of
2948              meaningfully at the python filesystem's discretion)
2949            - Added '__init__' handler to base Fuse class, which allows
2950              your Python class to know the mountpoint and mount args,
2951              as attributes myfs.mountpoint, myfs.optlist, myfs.optdict
2953         * General:
2954            - added 'mount.fuse' script (in util/ dir), which is meant to be
2955              symlinked from /sbin, and which allows FUSE filesystems to
2956              be mounted with the 'mount' command, and listed in fstab;
2957              also, mount arguments get passed to your filesystem
2960 2003-11-04  Miklos Szeredi <miklos@szeredi.hu>
2962         * Fix kernel version detection (again).  Bugreport by Peter Levart
2964 2003-11-03  Miklos Szeredi <miklos@szeredi.hu>
2966         * Applied read combining patch by Michael Grigoriev (tested by
2967         Valient Gough and Vincent Wagelaar)
2969 2003-10-22  Miklos Szeredi <miklos@szeredi.hu>
2971         * Mtab handling fix in fusermount by "Valient Gough" (SF patch
2972         #766443)
2974 2003-10-13  Miklos Szeredi <miklos@szeredi.hu>
2976         * Error code fixes in kernel module
2978 2003-10-04  Miklos Szeredi <miklos@szeredi.hu>
2980         * kernel version detection fix
2982         * fusermount now uses "lazy" umount option
2984         * fusermount can use modprobe with module-init-tools
2986 2003-09-08  Miklos Szeredi <miklos@szeredi.hu>
2988         * Integrated caching patch by Michael Grigoriev
2990         * Added "Filesystems" file with descriptions of projects using
2991         FUSE
2993         * Added patch by Michael Grigoriev to allow compliation of FUSE
2994         kernel module for 2.6 kernels
2996 2003-06-02  Miklos Szeredi <miklos@szeredi.hu>
2998         * And another spec-file fix by Achim Settelmeier
3000 2003-05-26  Miklos Szeredi <miklos@szeredi.hu>
3002         * Spec-file fix by Achim Settelmeier
3004 2003-03-10  Miklos Szeredi <miklos@szeredi.hu>
3006         * Fix umount oops (found by Samuli Kärkkäinen)
3008 2003-03-05  Miklos Szeredi <miklos@szeredi.hu>
3010         * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier
3012 2003-03-04  Miklos Szeredi <miklos@szeredi.hu>
3014         * Updated fuse.spec file (Achim Settelmeier)
3016 2003-02-19  Miklos Szeredi <miklos@szeredi.hu>
3018         * Version 1.0 released
3020 2003-02-12  Miklos Szeredi <miklos@szeredi.hu>
3022         * SuSE compilation fix by Juan-Mariano de Goyeneche
3024 2002-12-10  Miklos Szeredi <miklos@szeredi.hu>
3026         * The release() VFS call is now exported to the FUSE interface
3028 2002-12-05  Miklos Szeredi <miklos@szeredi.hu>
3030         * 64 bit file offset fixes in the fuse kernel module
3032         * Added function 'fuse_exit()' which can be used to exit the main
3033         loop
3035 2002-12-03  Miklos Szeredi <miklos@szeredi.hu>
3037         * Added _FILE_OFFSET_BITS=64 define to fuse.h.  Note, that this is
3038         an incompatible interface change.
3040 2002-10-28  Miklos Szeredi <miklos@szeredi.hu>
3042         * Portablility fix (bug reported by C. Chris Erway)
3044 2002-10-25  Miklos Szeredi <miklos@szeredi.hu>
3046         * Use Mark Glines' fd passing method for default operation instead
3047         of old reexec
3049 2002-10-22  Miklos Szeredi <miklos@szeredi.hu>
3051         * fix "Stale NFS file handle" bug caused by changes in 2.4.19
3053 2002-10-22  Miklos Szeredi <miklos@szeredi.hu>
3055         * fix incompatiblity with Red Hat kernels, with help from Nathan
3056         Thompson-Amato.
3058 2002-04-18  Mark Glines <mark@glines.org>
3060         * added an alternative to fuse_mount(), called
3061       fuse_mount_ioslave(), which does not need to reexec the
3062       FUSE program.
3063         * added a small helper util needed by fuse_mount_ioslave().
3065 2002-03-16  Mark Glines <mark@glines.org>
3067         * use struct fuse_statfs everywhere possible to avoid problems
3068       with the headerfiles changing struct statfs member sizes
3070 2002-03-01  Miklos Szeredi <miklos@szeredi.hu>
3072         * Another RPM spec file for RedHat >= 7 by Ian Pilcher
3074 2002-01-14  Miklos Szeredi <miklos@szeredi.hu>
3076         * RPM support by Achim Settelmeier
3078 2002-01-09  Miklos Szeredi <miklos@szeredi.hu>
3080         * Version 0.95 released
3082 2002-01-09  Miklos Szeredi <miklos@szeredi.hu>
3084         * Revaidate all path components not just the last, this means a
3085         very small performance penalty for being more up-to-date.
3087 2002-01-08  Miklos Szeredi <miklos@szeredi.hu>
3089         * Update and fix python interface
3091 2002-01-07  Mark Glines <mark@glines.org>
3093         * Added statfs() support to kernel, lib, examples, and perl!
3095 2001-12-26  Miklos Szeredi <miklos@szeredi.hu>
3097         * Better cross compilation support
3099         * Ported to Compaq IPAQ
3101 2001-12-20  Miklos Szeredi <miklos@szeredi.hu>
3103         * Added function fuse_get_context() to library API (inspired by
3104         patch from Matt Ryan)
3106         * Added flags to fusermount and to kernel interface to control
3107         permission checking
3109         * Integrated fuse_set_operations() into fuse_new()
3111 2001-12-08  Miklos Szeredi <miklos@szeredi.hu>
3113         * Applied header protection + extern "C" patch by Roland
3114         Bauerschmidt
3116 2001-12-02  Miklos Szeredi <miklos@szeredi.hu>
3118         * Added perl bindings by Mark Glines
3120 2001-11-21  Miklos Szeredi <miklos@szeredi.hu>
3122         * Cleaned up way of mounting simple filesystems.
3124         * fuse_main() helper function added
3126 2001-11-18  Miklos Szeredi <miklos@szeredi.hu>
3128         * Optimized read/write operations, so that minimal copying of data
3129         is done
3131 2001-11-14  Miklos Szeredi <miklos@szeredi.hu>
3133         * Python bindings by Jeff Epler added
3135 2001-11-13  Miklos Szeredi <miklos@szeredi.hu>
3137         * Fixed vfsmount reference leak in fuse_follow_link
3139         * FS blocksize is set to PAGE_CACHE_SIZE, blksize attribute from
3140         userspace is ignored
3142 2001-11-09  Miklos Szeredi <miklos@szeredi.hu>
3144         * Started ChangeLog