1 2012-04-24 Miklos Szeredi <miklos@szeredi.hu>
3 * Add fallocate operation. Patch by Anatol Pomozov
5 2012-05-16 Miklos Szeredi <miklos@szeredi.hu>
7 * Linking to a library that uses threads requires the application
8 to be linked with -pthreads otherwise some pthread functions will
9 be linked to stubs in glibc. So move -pthread from Libs.private
10 to Libs in fuse.pc. Reported by Werner Fink
12 * Fix the compile command in the examples. Reported by Luciano
15 2012-04-20 Miklos Szeredi <miklos@szeredi.hu>
19 2012-04-20 Miklos Szeredi <miklos@szeredi.hu>
21 * Add missing fuse_fs_flock to fuse_versionscript
23 2012-04-10 Miklos Szeredi <miklos@szeredi.hu>
25 * Check protocol version before sending notifications and return
26 -ENOSYS if a particular notification is not supported.
28 * Add 'flag_utime_omit_ok' flag to fuse_operations. If the
29 filesystem sets this flag then ->utimens() will receive UTIME_OMIT
30 and UTIME_NOW values as specified in utimensat(2).
32 2012-01-27 Miklos Szeredi <miklos@szeredi.hu>
34 * Interpret octal escape codes in options. Requested by Jan
37 2012-01-26 Miklos Szeredi <miklos@szeredi.hu>
39 * Add man pages for fusermount, mount.fuse and ulockmgr_server.
40 Lifted from the Debian package. The man pages were written by
41 Daniel Baumann and Bastien Roucaries
43 2012-01-13 Miklos Szeredi <miklos@szeredi.hu>
45 * Disable symbol versions on MacOSX. Patch by Anatol Pomozov
47 2012-01-02 Miklos Szeredi <miklos@szeredi.hu>
49 * Remove unnecessary mutex unlock at the end of multithreaded
52 2011-12-09 Miklos Szeredi <miklos@szeredi.hu>
54 * Fix hang in wait_on_path(). Reported by Ville Silventoinen
56 * Don't unhash name in FORGET. This resulted in ENOENT being
57 returned for unlinked but still open files if the kernel sent a
58 FORGET request for the parent directory.
60 * Free request in fuse_reply_data().
62 2011-12-08 Miklos Szeredi <miklos@szeredi.hu>
64 * Fix build if FUSE_NODE_SLAB is not defined. Patch by Emmanuel
67 * Check for availability of utimensat() function. Patch by
70 2011-12-07 Miklos Szeredi <miklos@szeredi.hu>
72 * Add fuse_lowlevel_notify_delete() which tells the kernel that a
73 file or directory is deleted. Patch by John Muir
75 2011-12-06 Miklos Szeredi <miklos@szeredi.hu>
77 * Update retrieve_reply() method
79 2011-12-05 Miklos Szeredi <miklos@szeredi.hu>
81 * Low level API: lock argument of fuse_reply_lock should have a
82 'const' qualifier. Reported by Shachar Sharon
84 * Add support for ioctl on directories. Reported by Antonio SJ
87 2011-10-13 Miklos Szeredi <miklos@szeredi.hu>
89 * Reply to request with ENOMEM in case of failure to allocate
90 request structure. Otherwise the task issuing the request will
91 just freeze up until the filesystem daemon is killed. Reported by
94 2011-09-23 Miklos Szeredi <miklos@szeredi.hu>
96 * Replace daemon() function with fork(). Patch by Anatol Pomozov
98 2011-08-26 Miklos Szeredi <miklos@szeredi.hu>
100 * If configured with --disable-mtab then don't call mount(8) from
101 libfuse to update the mtab. Reported by: James Sierp
103 2011-08-24 Miklos Szeredi <miklos@szeredi.hu>
105 * Use LRU list for cleaning up the cache if the "remember=T"
106 option was given. Patch by therealneworld@gmail.com
108 2011-07-06 Miklos Szeredi <miklos@szeredi.hu>
110 * Add ->flock() operation to low and high level interfaces. This
111 fixes problems with emulating flock() with POSIX locking.
112 Reported by Sebastian Pipping. As with lock/setlk/getlk most
113 filesystems don't need to implement this, as the kernel takes care
114 of file locking. The only reason to implement locking operations
115 is for network filesystems which want file locking to work between
118 2011-07-02 Sebastian Pipping <sebastian@pipping.org>
120 * Make xmp_utimens of examples "fusexmp" and "fusexmp_fh"
121 not follow symlinks as other layers do that already.
123 2011-06-02 Miklos Szeredi <miklos@szeredi.hu>
125 * Add "remember" option. This works similar to "noforget" except
126 that eventually the node will be allowed to expire from the cache.
127 Patch by therealneworld@gmail.com
129 2011-05-27 Miklos Szeredi <miklos@szeredi.hu>
131 * Check if splice/vmsplice are supported
133 2011-05-26 Miklos Szeredi <miklos@szeredi.hu>
135 * Remove -lrt -ldl from fuse.pc for dynamic linking since
136 libfuse.so is already linked with these libraries. Reported by:
139 2011-05-20 Miklos Szeredi <miklos@szeredi.hu>
141 * Cleaner build output. Patch by Reuben Hawkins
143 2011-05-19 Miklos Szeredi <miklos@szeredi.hu>
145 * Disable splice by default, add "splice_read", "splice_write" and
146 "splice_move" options. Keep the "no_splice_*" variants, which can
147 disable splice even if the filesystem explicitly enables it.
149 2011-04-15 Max Krasnyansky <maxk@kernel.org>
150 * Added support for "auto_unmount" option which unmounts the
151 filesystem automatically on process exit (or crash).
153 2011-03-30 Miklos Szeredi <miklos@szeredi.hu>
155 * Patches by Laszlo Papp fixing various issues found by the
158 2011-03-11 Miklos Szeredi <miklos@szeredi.hu>
160 * In case of failure to add to /etc/mtab don't umount. Reported
163 2011-02-02 Miklos Szeredi <miklos@szeredi.hu>
165 * libfuse: In fuse_session_loop_mt() don't pause when exiting the
166 worker threads. The pause() was added in 2.2.1 to prevent
167 segfault on pthread_cancel() on an exited, detached thread. Now
168 worker threads are not detached and pthread_cancel() should work
169 fine even after the thread exited. Reported by Boris Protopopov
171 2011-01-31 Miklos Szeredi <miklos@szeredi.hu>
173 * fusermount: chdir to / before performing mount/umount
175 * fusermount: only allow mount and umount if util-linux supports
178 2010-12-16 Miklos Szeredi <miklos@szeredi.hu>
180 * Highlevel lib: allow hash tables to shrink
182 * Highlevel lib: add slab allocation for node cache. This will
183 allow the memory used by the filesystem to grow and shrink
184 depending on how many inodes are currently cached.
186 2010-12-13 Miklos Szeredi <miklos@szeredi.hu>
188 * Highlevel lib: use dynamically resized hash table for looking up
191 2010-12-07 Miklos Szeredi <miklos@szeredi.hu>
193 * Allow batching of forget requests. This allows forget requests
194 to be processed faster and doesn't require a modification to fuse
195 filesystems. Reported by Terje Malmedal
197 * Add ->forget_multi() operation to the lowlevel API. The
198 filesystem may implement this to process multiple forget requests
201 * Fix the ambiguity of ioctl ABI on the kernel/userspace boundary
202 for 32bit vs. 64bit userspace
204 2010-11-10 Miklos Szeredi <miklos@szeredi.hu>
206 * Add new write_buf() method to the highlevel API. Similarly to
207 the lowlevel write_buf() method, this allows implementing zero
210 * Add a new read_buf() method to the highlevel API. This allows
211 returning a generic buffer from the read method, which in turn
212 allows zero copy reads.
214 * In fusexmp_fh implement the ->read_buf() and ->write_buf()
215 methods. Leave the ->read() and ->write() implementations for
216 reference, even though they are not necessary.
218 2010-11-08 Miklos Szeredi <miklos@szeredi.hu>
220 * Fix check for read-only fs in mtab update
222 * Open /dev/null for write instead of read for redirecting stdout
225 * If umount(8) supports --fake and --no-canonicalize (util-linux-ng
226 version 2.18 or later), and umount(2) supports the
227 UMOUNT_NOFOLLOW flag (linux kernel version 2.6.35 or later) then,
228 "fusermount -u" will call the umount(2) system call and use
229 "umount --fake ..." to update /etc/mtab
231 * Added --disable-legacy-umount option to configure. This
232 disables the runtime checking of umount(8) version. When built
233 with this option then "fusermount -u" will fail if umount(8)
234 doesn't support the --fake and --no-canonicalize options.
236 * Fix fuse_buf_copy() if already at the end of the buffers
238 * Add new ->write_buf() method to low level interface. This
239 allows passig a generic buffer, either containing a memory buffer
240 or a file descriptor. This allows implementing zero copy writes.
242 * Add fuse_session_receive_buf() and fuse_session_process_buf()
243 which may be used in event loop implementations to replace
244 fuse_chan_recv() and fuse_session_process() respectively.
246 * Remove unnecessary restoring of current working directory in
249 * Add ctx->pid to debug output
251 * Fix st_nlink value in high level lib if file is unlinked but
254 * libfuse: add store request. Request data to be stored in the
255 kernel buffers for a given inode.
257 * libfuse: add retrieve request. Retrieve data stored in the
258 kernel buffers for a given inode.
260 2010-10-14 Miklos Szeredi <miklos@szeredi.hu>
262 * Use LTLIBICONV when linking libfuse. This fixes building against
263 uclibc + libiconv. Patch by Natanael Copa
265 2010-10-05 Miklos Szeredi <miklos@szeredi.hu>
267 * Add missing argument check in ulockmgr.c to prevent calling
268 ulockmgr_server with illegal arguments. This would cause an ever
269 growing list of ulockmgr_server processes with an endless list of
270 open files which finally exceeds the open file handle limit.
271 Patch by Markus Ammer
273 2010-09-28 Miklos Szeredi <miklos@szeredi.hu>
275 * Fix ambiguous symbol version for fuse_chan_new.
276 fuse_versionscript included fuse_chan_new in both FUSE_2.4 and
277 FUSE_2.6. Remove the FUSE_2.4, which is invalid.
279 2010-09-28 Miklos Szeredi <miklos@szeredi.hu>
281 * Fix option escaping for fusermount. If the "fsname=" option
282 contained a comma then the option parser in fusermount was
283 confused (Novell bugzilla #641480). Fix by escaping commas when
284 passing them over to fusermount. Reported by Jan Engelhardt
286 2010-08-27 Miklos Szeredi <miklos@szeredi.hu>
288 * Add NetBSD support. Patch from Emmanuel Dreyfus
290 2010-07-12 Miklos Szeredi <miklos@szeredi.hu>
292 * libfuse: add buffer interface. Add a generic buffer interface
293 for use with I/O. Buffer vectors are supplied and each buffer in
294 the vector may be a memory pointer or a file descriptor.
296 * The fuse_reply_fd() interface is converted to using buffers.
298 2010-06-23 Miklos Szeredi <miklos@szeredi.hu>
300 * Make the number of max background requests and congestion
301 threshold tunable. New options are "max_background" and
302 "congestion_threshold". Only effective on linux kernel versions
303 2.6.32 or greater. Patch by Csaba Henk
305 2010-06-17 Miklos Szeredi <miklos@szeredi.hu>
307 * Add fuse_reply_fd() reply function to the low level interface.
308 On linux version 2.6.35 or greater this will use splice() to move
309 data directly from a file descriptor to the fuse device without
310 needing to go though a userspace buffer. With the
311 FUSE_REPLY_FD_MOVE flag the kernel will attempt to move the data
312 directly into the filesystem's cache. On earlier kernels it will
313 fall back to an intermediate buffer. The options
314 "no_splice_write" and "no_splice_move" can be used to disable
315 splicing and moving respectively.
317 2010-06-15 Miklos Szeredi <miklos@szeredi.hu>
319 * Fix out-of-source build. Patch by Jörg Faschingbauer
321 * Add a "nopath" option and flag, indicating that path argument
322 need not be calculated for the following operations: read, write,
323 flush, release, fsync, readdir, releasedir, fsyncdir, ftruncate,
324 fgetattr, lock, ioctl and poll.
326 2010-05-10 Miklos Szeredi <miklos@szeredi.hu>
328 * Remove "chmod root" from install of fusermount. Reported by
331 2010-04-26 Miklos Szeredi <miklos@szeredi.hu>
335 2010-04-26 Miklos Szeredi <miklos@szeredi.hu>
337 * Fix checking for symlinks in umount from /tmp. Reported by Al
340 * Fix umounting if /tmp is a symlink. Reported by Franco Broi
342 2010-02-18 Miklos Szeredi <miklos@szeredi.hu>
344 * Fix definition of FUSE_OPT_END for C++. Reported by Tim
347 2010-02-03 Miklos Szeredi <miklos@szeredi.hu>
349 * Fix stack alignment for clone()
351 2010-02-01 Miklos Szeredi <miklos@szeredi.hu>
355 2010-02-01 Miklos Szeredi <miklos@szeredi.hu>
357 * Using "--no-canonicalize" with umount(8) conflicts with the race
358 fix, sinceit assumes the supplied path is absolute, while the race
359 fix relies on the path being relative to the current directory.
360 Reported by Tom Rindborg
362 2010-01-26 Miklos Szeredi <miklos@szeredi.hu>
366 2010-01-21 Miklos Szeredi <miklos@szeredi.hu>
368 * Fix race if two "fusermount -u" instances are run in parallel.
369 Reported by Dan Rosenberg
371 * Make sure that the path to be unmounted doesn't refer to a
374 2010-01-14 Miklos Szeredi <miklos@szeredi.hu>
376 * Fix compile error on FreeBSD. Patch by Jay Sullivan
378 2009-12-17 Miklos Szeredi <miklos@szeredi.hu>
380 * Use '--no-canonicalize' option of mount(8) (available in
381 util-linux-ng version 2.17 or greater) to avoid calling
382 readling(2) on the newly mounted filesystem before the mount
383 procedure is finished. This has caused a deadlock if "audit" was
384 enabled in the kernel. Also use '--no-canonicalize' for umount to
385 avoid touching the mounted filesystem.
387 2009-09-11 Miklos Szeredi <miklos@szeredi.hu>
391 2009-08-25 Miklos Szeredi <miklos@szeredi.hu>
393 * Fix missing versioned symbol fuse_get_context@FUSE_2.2
395 2009-08-18 Miklos Szeredi <miklos@szeredi.hu>
399 2009-08-18 Miklos Szeredi <miklos@szeredi.hu>
401 * Add missing fuse_session_data to versionscript
403 * Make sure all global symbols are prefixed with "fuse_" or "cuse_"
405 2009-07-16 Miklos Szeredi <miklos@szeredi.hu>
407 * Clarify how the protocol version should be negotiated between
408 kernel and userspace. Notably libfuse didn't correctly handle the
409 case when the supported major versions didn't match
411 * Add missing pthread link for libulockmgr. Patch by Petr Salinger
413 2009-07-02 Miklos Szeredi <miklos@szeredi.hu>
415 * The context is extended with a 'umask' field. The umask is sent
416 for mknod, mkdir and create requests by linux kernel version
417 2.6.31 or later, otherwise the umask is set to zero. Also
418 introduce a new feature flag: FUSE_CAP_DONT_MASK. If the kernel
419 supports this feature, then this flag will be set in conn->capable
420 in the ->init() method. If the filesystem sets this flag in in
421 conn->want, then the create modes will not be masked.
423 * Add low level interfaces for lookup cache and attribute
424 invalidation. This feature is available in linux kernels 2.6.31
425 or later. Patch by John Muir
427 * Kernel interface version is now 7.12
429 * fusermount: Do not silently ignore command line arguments.
430 Patch by Sebastian Harl
432 2009-06-19 Miklos Szeredi <miklos@szeredi.hu>
434 * Released 2.8.0-pre3
436 2009-06-19 Miklos Szeredi <miklos@szeredi.hu>
438 * Add fuse_getgroups (high level lib) and fuse_req_getgroups (low
439 level lib) functions to query the supplementary group IDs for the
440 current request. Currently this is implemented on Linux by
441 reading from the /proc filesystem.
443 2009-06-18 Miklos Szeredi <miklos@szeredi.hu>
445 * Add "noforget" option to high level lib to prevent ESTALE errors
446 on NFS exported filesystems. This result in paths being cached
447 forever, resulting in ever growing memory usage. Use with care.
449 * Add "no_remote_lock" option to disable remote file locking even
450 if the filesystem implements it. With this option locking
451 primitives (flock, lockf, fcntl(F_SETLK)) will still work, but
452 will ignore remotely locked files.
454 * CUSE patches from Tejun Heo:
456 * Unrestricted ioctl support left some debris. Clean them up:
457 o No reason to pass around pointer to flags. Pass flags directly.
458 o Clean up comment and prototype parameter names.
459 o fuse_lib_ioctl() didn't reply when get_path() failed. Fix it.
460 o Remove unused variables {in|out}_iov from fuse_lib_ioctl().
462 * Add fuse_reply_ioctl_iov()
464 * Move fuse_session, fuse_req and fuse_ll definitions to fuse_i.h
465 and make send_reply_iov() and fuse_setup_common() global (also in
466 fuse_i.h). These will be used by CUSE support.
468 * Restructure fuse_ll_process()
470 * Implement libfuse side of CUSE support. CUSE uses subset of FUSE
471 operations as dir operations don't make sense for CUSE where one
472 instance implements single character device.
474 CUSE support comes with its own cuse_lowevel_ops and related
475 initialization and helper functions. Except for initialization, it
476 usage is basically identical to FUSE.
478 This patch also adds example/cusexmp.c which can create a character
479 device with name and device number specified on command line. The
480 created device itself is pretty boring. It's a bit bucket supporting
481 read, write and access via ioctl.
483 2009-06-16 Miklos Szeredi <miklos@szeredi.hu>
485 * Add missing fuse_reply_bmap to versionscript. Debian
486 Bug#531329. Reported by Goswin Brederlow
488 2009-05-27 Miklos Szeredi <miklos@szeredi.hu>
490 * Don't call forget_node() if the lookup was negative and write()
491 for the reply returned ENOENT. Reported by John Haxby
493 2009-05-25 Miklos Szeredi <miklos@szeredi.hu>
495 * Add FUSE_CAP_EXPORT_SUPPORT to fuse_common.h
497 2009-05-08 Miklos Szeredi <miklos@szeredi.hu>
499 * Fix missing newlines in some printfs
501 * Fix 'make install-strip'. Reported by Dominick Layfield
503 2009-01-05 Miklos Szeredi <miklos@szeredi.hu>
505 * Released 2.8.0-pre2
507 2008-12-08 Miklos Szeredi <miklos@szeredi.hu>
509 * Implement poll support. Patch by Tejun Heo
511 * Add missing setattr flags to <fuse_lowlevel.h>.
513 * Only pass valid flags to ->setattr().
515 2008-12-05 Miklos Szeredi <miklos@szeredi.hu>
517 * Implement ioctl support. On high level interface only
518 "restricted" ioctls are supported (which are defined with the
519 _IO(), _IOR(), _IOW() or _IOWR() macros). Unrestricted ioctls
520 will only be allwed to CUSE (Character Device in Userspace)
521 servers. Patch by Tejun Heo
523 2008-11-28 Miklos Szeredi <miklos@szeredi.hu>
525 * If open sets fi->nonseekable, libfuse will tell the kernel that
526 the file is not seekable. Patch by Tejun Heo
528 2008-11-19 Miklos Szeredi <miklos@szeredi.hu>
530 * lowlevel lib: fix deadlock if fuse_reply_* is called from the
531 interrupt handling function. Reported by Tero Marttila
533 2008-10-16 Miklos Szeredi <miklos@szeredi.hu>
535 * Allow commas in options to be escaped with a backslash
537 * Add new function: fuse_opt_add_opt_escaped()
539 * Add missing fuse_reply_bmap() to the version script
541 2008-10-14 Miklos Szeredi <miklos@szeredi.hu>
543 * Pass current file flags to read and write operations
545 2008-07-24 Miklos Szeredi <miklos@szeredi.hu>
547 * Clean up debug output in highlevel lib
549 2008-07-10 Miklos Szeredi <miklos@szeredi.hu>
551 * Released 2.8.0-pre1
553 2008-06-27 Miklos Szeredi <miklos@szeredi.hu>
555 * Fix handling of (no)suid and (no)dev options if filesystem is
556 mounted from /etc/fstab or via mount(8). Reported by Jan Ondrej.
558 * Skip calling mount(8) if /etc/mtab doesn't exist or if it's on a
559 read-only filesystem. This works around issues with certain mount
560 implementations. Reported by Szabolcs Szakacsits.
562 2008-06-16 Miklos Szeredi <miklos@szeredi.hu>
564 * Remove fuse kernel module sources. Linux 2.6.27 will support
567 2008-06-10 Miklos Szeredi <miklos@szeredi.hu>
569 * Fix theoretical infinite loops in libfuse. Reported by Szabolcs
572 * Fix missing <sys/param.h> include for PATH_MAX. Reported by
575 2008-05-23 Miklos Szeredi <miklos@szeredi.hu>
577 * Fix mounting over symlink. Reported by Szabolcs Szakacsits
579 2008-05-09 Miklos Szeredi <miklos@szeredi.hu>
581 * Don't allow bigger than 4kB writes by default on 2.6.26 and
582 later kernels, so that filesystems not expecting this are not
583 broken on a kernel upgrade. Provide a 'big_writes' mount option
584 to enable this feature. In future API revisions this may become
587 2008-04-09 Miklos Szeredi <miklos@szeredi.hu>
589 * Update warning message for missing newline at end of fuse.conf
591 * Update debug message for successful operation to not include the
594 2008-04-08 Miklos Szeredi <miklos@szeredi.hu>
596 * Update error message for missing mountpoint parameter. Reported
599 2008-04-04 Miklos Szeredi <miklos@szeredi.hu>
601 * Print library version information to debug output
603 * Highlevel lib: don't limit paths to 4095 characters
605 2008-03-25 Miklos Szeredi <miklos@szeredi.hu>
607 * Fix memory leaks on mount. Patch by Szabolcs Szakacsits
609 2008-03-19 Miklos Szeredi <miklos@szeredi.hu>
611 * Fix missing pthread_mutex_destroy in error path of
612 fuse_lib_opendir(). Patch by Szabolcs Szakacsits
614 2008-03-07 Miklos Szeredi <miklos@szeredi.hu>
616 * Add queuing on contention to per-node lock algorithm, to avoid
619 * Only enable cancelation when reading a request, otherwise
620 cancellation could happen with a mutex held, which could hang the
623 2008-02-08 Miklos Szeredi <miklos@szeredi.hu>
625 * Block SIGCHLD when executing mount and umount
627 * fusexmp_fh: avoid unnecessary seeking in readdir
629 * Update kernel interface to 7.9:
631 * Support receiving file handle from kernel in GETATTR request
633 * Allow operations with a NULL path argument, if the filesystem
636 * Add support atomic open(O_TRUNC)
638 * Support the st_blksize field in struct stat
640 * If the "FUSE_THREAD_STACK" environment is set, initialize the
641 stack size of threads by this value. Patch by Florin Malita
643 * Add per-node locking, instead of a global tree lock to protect
644 the path from changing during operations. Original patch by
647 2008-02-03 Csaba Henk <csaba.henk@creo.hu>
650 - string formatting fixes
651 - exit if mounting has failed
652 (in FreeBSD a mount failure is not critical per se, as the daemon
653 still could be mounted externally, but waiting for such an event
654 is more confusing than fruitful)
655 - ditch the kvm(8) stuff and simply use forced unmount which just
657 - prettify option specifications
658 - add "-onosync_unmount" kernel option
660 2008-01-07 Csaba Henk <csaba.henk@creo.hu>
663 - refine device closing in a race-free way
664 - add support for "-osubtype" on FreeBSD
666 * makeconf.sh: make it work under FreeBSD
668 2008-01-03 Csaba Henk <csaba.henk@creo.hu>
670 * lib/mount_bsd.c: close device before unmount
671 (cf. lib/mount.c rev. 1.43) and fix some warnings
673 2007-12-23 Miklos Szeredi <miklos@szeredi.hu>
675 * Fix './configure --disable-static'. Patch from Ismail Dönmez
677 2007-12-17 Miklos Szeredi <miklos@szeredi.hu>
681 2007-12-12 Miklos Szeredi <miklos@szeredi.hu>
683 * Fix kernel module compile for 2.6.24
685 * Invalidate attributes of parent directory after create(), since
686 the modification time changes. Invalidate attributes on rename,
687 since some filesystems may update st_ctime. Reported by Szabolcs
690 * Fix NFS exporting to handle 64bit node IDs
692 * Disable old symbol versions if __UCLIBC__ is defined. If a
693 symbol in a library has multiple versions, the runtime linker in
694 uClibc seems to randomly choose between them.
696 * Remove erroneous 'fuse_opt_insert_arg@FUSE_2_5' from
697 fuse_version_script. fuse_opt_free_args() was added in fuse-2.6.
699 * Close fuse device file descriptor before calling umount(),
700 preventing a deadlock when umount is synchronous. Reported by
703 2007-11-12 Miklos Szeredi <miklos@szeredi.hu>
705 * 'fusermount -u' did not umount the filesystem if /etc/mtab was a
706 symlink. This bug was introduced in 2.7.1 by "Don't call
707 /bin/[u]mount if /etc/mtab is a symlink". Found by robertsong.
709 2007-10-16 Miklos Szeredi <miklos@szeredi.hu>
713 2007-10-16 Miklos Szeredi <miklos@szeredi.hu>
715 * Clarify licence version to be "LGPLv2" for the library
719 * After mount set nlink attribute for the root inode to 1
721 * Fix wake up of task waiting for a reserved request
723 * Fix allowing setattr, listxattr and statfs for other users
725 2007-09-18 Miklos Szeredi <miklos@szeredi.hu>
727 * Add missing context initialization in fuse_fs_chmod(). Bug
730 * Fix kernel module compilation for 2.6.23. Based on patch by
733 2007-09-04 Philippe Elie <phil.el@wanadoo.fr>
735 * lib/fuse_lowlevel.c: fix a fuse_req leak in do_forget()
737 2007-07-31 Miklos Szeredi <miklos@szeredi.hu>
739 * Work around hotplug issue, that it calls filesystem with file
740 descriptors 0, 1 and 2 not open. Tracked down by Leif Johnson
742 2007-07-25 Miklos Szeredi <miklos@szeredi.hu>
744 * Don't call /bin/[u]mount if /etc/mtab is a symlink. Reported by
747 * Also don't touch /etc/mtab if it is within the mounted
748 filesystem. Suggested by Jeffrey Law
750 2007-07-12 Miklos Szeredi <miklos@szeredi.hu>
752 * Reset args->argc in fuse_opt_free_args(). Patch by Lucas
755 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
759 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
761 * Accept a NULL "op" for fuse_main(), etc. This is useful if
762 filesystem is only invoking fuse to print a help message, or
763 version. Fixes RedHat bugzilla #217343
765 2007-06-22 Miklos Szeredi <miklos@szeredi.hu>
767 * lib: fix locking when loading a filesystem module
769 2007-06-21 Miklos Szeredi <miklos@szeredi.hu>
771 * Add fs subtype support to mount.fuse
773 2007-06-20 Miklos Szeredi <miklos@szeredi.hu>
775 * Add fs subtype support to libfuse and fusermount
777 2007-06-19 Miklos Szeredi <miklos@szeredi.hu>
779 * kernel: sync with mainline (2.6.22)
781 2007-06-18 Miklos Szeredi <miklos@szeredi.hu>
783 * Send debug output to stderr instead of stdout. Patch by Jan
786 2007-06-03 Miklos Szeredi <miklos@szeredi.hu>
788 * libulockmgr: Work around a kernel bug in recv(), causing it to
789 sometimes return zero even if data was available on the socket.
791 2007-05-29 Miklos Szeredi <miklos@szeredi.hu>
793 * lib: optimization: store parent pointer in node instead of
796 2007-05-25 Miklos Szeredi <miklos@szeredi.hu>
798 * lib: don't create new thread for each FORGET request. FORGET
799 messages sometimes caused so many threads to be created, that
800 process virtual memory space ran out. Reported by Chris AtLee
802 2007-05-24 Miklos Szeredi <miklos@szeredi.hu>
804 * lib: fix memory leak on thread creation failure in multithreaded
805 event loop. Found by Chris AtLee
807 2007-05-23 Miklos Szeredi <miklos@szeredi.hu>
809 * lowlevel lib: add fuse_reply_iov function, which is similar to
810 fuse_reply_buf, but accepts a vector of buffers. Patch by Roger
813 2007-05-21 Miklos Szeredi <miklos@szeredi.hu>
815 * Fix Oops or error if a regular file is created with mknod(2) on
816 a fuse filesystem. Kernels 2.6.18 onward are affected. Thanks to
817 J. Cameijo Cerdeira for the report
819 2007-05-11 Csaba Henk <csaba.henk@creo.hu>
821 * libfuse: fix return value of fuse_loop()/fuse_loop_mt().
822 Error reported by Csaba Henk, fix by Miklos Szeredi
824 * libfuse: fix unlock in flush
826 * libfuse: do unlocking on RELEASE+FLUSH
828 2007-05-03 Miklos Szeredi <miklos@szeredi.hu>
832 2007-05-02 Miklos Szeredi <miklos@szeredi.hu>
834 * kernel: sync with mainline:
836 * Use invalidate_mapping_pages() if available
838 * Fix BUG when invalid file type is supplied in mount. Patch by
841 2007-04-27 Miklos Szeredi <miklos@szeredi.hu>
843 * libfuse: call umount(8) directly instead of fusermount if
846 * Clean up init script, make it LSB compliant
848 2007-04-26 Miklos Szeredi <miklos@szeredi.hu>
850 * In multithreaded loop, use a semaphore instead of SIGHUP to wake
851 up the main thread on umount. This is more elegant, and works
852 even if signals are blocked.
854 2007-04-25 Miklos Szeredi <miklos@szeredi.hu>
856 * Improve mounting support in libfuse:
857 - check non-empty mountpoint
858 - only fall back to fusermount when necessary
860 2007-04-23 Miklos Szeredi <miklos@szeredi.hu>
862 * Don't chdir to "/" in foreground mode, it causes more trouble
865 2007-04-18 Miklos Szeredi <miklos@szeredi.hu>
867 * Replace utils/mount.fuse "sh" script with a "C" program
869 2007-04-15 Miklos Szeredi <miklos@szeredi.hu>
871 * Add -lulockmgr to compilation comment in fusexmp_fh.c
873 2007-04-05 Miklos Szeredi <miklos@szeredi.hu>
875 * Check for iconv. Patch by Csaba Henk
877 * Add direct umounting
879 * Use "fusectl" as the device for the fusectl filesystem. Debian
880 Bug#417945. Reported by Laurent Bonnaud
882 2007-04-01 Csaba Henk <csaba.henk@creo.hu>
884 * Fix some FreeBSD related macros.
886 2007-03-30 Miklos Szeredi <miklos@szeredi.hu>
888 * Add support for direct mounting by libfuse. Fall back on
889 calling fusermount if it doesn't work
891 2007-03-14 Miklos Szeredi <miklos@szeredi.hu>
893 * Released 2.7.0-pre1
895 2007-03-05 Miklos Szeredi <miklos@szeredi.hu>
897 * Correctly handle O_APPEND in direct IO mode. Reported by Greg
900 * mount.fuse should use /bin/bash. Debian Bug#413403. Reported
901 by Thomas Weinbrenner
903 2007-02-26 Miklos Szeredi <miklos@szeredi.hu>
905 * Fix detection of installed fuse in init script. Reported and
906 fix suggested by Davide Canova
908 2007-02-05 Miklos Szeredi <miklos@szeredi.hu>
910 * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
911 don't define mutex_destroy(), bummer. Patch from Phil Schwan
913 2007-02-04 Miklos Szeredi <miklos@szeredi.hu>
915 * Compile fuseblk for kernels which don't have an option to turn
916 off the block layer (CONFIG_BLOCK). Reported by Szakacsits
919 2007-02-03 Miklos Szeredi <miklos@szeredi.hu>
921 * Add filesystem stacking support to high level API. Filesystem
922 modules can be built into libfuse or loaded from shared object
925 * Add 'subdir' and 'iconv' built in modules
927 * lib/fuse.c: Fix locking for the reply code in create and open
929 2007-02-02 Miklos Szeredi <miklos@szeredi.hu>
931 * kernel: make it compile on "strange" kernels which have emulated
932 mutexes via <linux/mutex.h> but no i_mutex. Reported by Tomasz
935 2007-01-28 Miklos Szeredi <miklos@szeredi.hu>
937 * kernel: fix BUG in control filesystem if it is umounted and
938 mounted again, while some fuse filesystems are present.
939 Bugreport from Florent Mertens
941 * kernel: sync with mainline, support 2.6.20
943 2007-01-22 Miklos Szeredi <miklos@szeredi.hu>
945 * lib/Makefile.am: actually link libfuse against libfuse_libs
947 2007-01-19 Miklos Szeredi <miklos@szeredi.hu>
949 * Build fix for 2.6.16 vanila and 2.6.15 FC5 kernels. Patch from
952 2007-01-18 Miklos Szeredi <miklos@szeredi.hu>
954 * Fix abort in fuse_new() compatibility API for opts == NULL case.
955 Novell bugzilla #233870. Patch from Takashi Iwai.
957 2007-01-13 Miklos Szeredi <miklos@szeredi.hu>
959 * Fix option parsing in mount.fuse. Patch from Jens M. Noedler
961 2007-01-02 Miklos Szeredi <miklos@szeredi.hu>
963 * Fix unaligned access in file desctriptor passing in libfuse,
964 fusermount and ulockmgr. Debian bug ID: 404904. Reported and
965 tested by Sebastian Fontius
967 2006-12-16 Miklos Szeredi <miklos@szeredi.hu>
969 * kernel: don't keep unreferenced inodes in the icache.
971 2006-12-15 Miklos Szeredi <miklos@szeredi.hu>
973 * fusermount: Fix detection of fuseblk. Reported by Szakacsits
976 * lib: Fix use after free in fuse_flush(). Reported by Ron
979 2006-12-10 Miklos Szeredi <miklos@szeredi.hu>
981 * mount.fuse: add "setuid=USER" option which does a "su - USER"
984 * fusermount: use "/bin/mount -f" to add entry to /etc/mtab, and
985 "/bin/umount" to remove entry from /etc/mtab. This gets rid of
986 the ugly code dealing with mtab, as well as a possible race
987 between fusermount and mount trying to modify /etc/mtab at the
990 * Fix "buffer size too small: 4" warning for users of the
991 fuse_loop_mt_proc() function.
993 2006-12-04 Miklos Szeredi <miklos@szeredi.hu>
995 * Fix warnings with gcc-4.1 on 64bit archs. Report from
998 * Add extra warning options, and fix resulting warnings
1000 * Really fix fuse_teardown problem
1002 2006-12-02 Miklos Szeredi <miklos@szeredi.hu>
1004 * Add -lrt to fuse.pc (if needed) to fix static linking against
1005 libfuse. Reported by Szakacsits Szabolcs
1007 2006-12-01 Miklos Szeredi <miklos@szeredi.hu>
1011 2006-11-30 Miklos Szeredi <miklos@szeredi.hu>
1013 * Fix API version 21 and 22 compatibility for fuse_teardown.
1016 2006-11-29 Miklos Szeredi <miklos@szeredi.hu>
1018 * fusermount: Print a more helpful message in case the kernel
1019 doesn't support the 'fuseblk' filesystem type. This has been
1020 biting ntfs-3g users. Reported by Yura Pakhuchiy
1022 * kernel: fix build problem for "make -C ...". Reported by
1025 2006-11-19 Miklos Szeredi <miklos@szeredi.hu>
1027 * Fix bug in certain error paths of lookup routines. The request
1028 object was reused for sending FORGET, which is illegal. This bug
1029 could cause an Oops in linux-2.6.18 or in fuse-2.6.0, and might
1030 silently corrupt memory in earlier versions. Report and test
1033 2006-11-11 Miklos Szeredi <miklos@szeredi.hu>
1035 * Print an error if an incompatible kernel interface version is
1036 detected in INIT. This will only show if filesystem is started
1039 * Fix order of fuse_destroy()/fuse_unmount() in error cleanup of
1040 fuse_setup_common(). Reported by Szakacsits Szabolcs
1042 2006-11-06 Miklos Szeredi <miklos@szeredi.hu>
1044 * Fix recursive locking in fuse_create(). Thanks to Takuya
1045 Ishibashi for the bug report
1047 2006-10-28 Miklos Szeredi <miklos@szeredi.hu>
1049 * Fix automake problem. Patch from Nix
1051 2006-10-26 Miklos Szeredi <miklos@szeredi.hu>
1053 * Fix mount.fuse to use /bin/sh instead of /bin/bash, which is not
1054 always available on embedded systems. Patch from Paul Smith
1056 * Fix util/Makefile.am, so that failure to run update-rc.d or
1057 device creation doesn't cause make to fail. Reported by Paul
1060 2006-10-21 Miklos Szeredi <miklos@szeredi.hu>
1064 2006-10-18 Miklos Szeredi <miklos@szeredi.hu>
1066 * fusermount: don't try to create a lock file if /etc/mtab is a
1067 symlink. Report and patch from Alexei Sheplyakov (debian bug
1070 2006-10-17 Miklos Szeredi <miklos@szeredi.hu>
1072 * Minor changes, sync with mainline tree
1074 2006-10-16 Miklos Szeredi <miklos@szeredi.hu>
1076 * Released 2.6.0-rc3
1078 2006-10-15 Miklos Szeredi <miklos@szeredi.hu>
1082 2006-10-13 Miklos Szeredi <miklos@szeredi.hu>
1084 * kernel: Fix compilation on patched 2.6.18 (fc6) and 2.6.19.
1085 Report from David Shaw
1087 * lib: Fix lost error on renaming a file. Report from David Shaw
1089 * lib: Fix lost error on hiding open files (renaming to
1092 * kernel: Fix a rare hang on SMP/32bit on heavy filesystem
1093 activity. The cause of the bug was that some calls to
1094 i_size_write() were not protected by a lock, and hence
1095 i_size_seqcount could become corrupted. This caused subsequent
1096 calls to i_size_read() to spin forever. This is a long standing
1097 bug was probably introduced in version 2.2, and thought to be
1098 related to NFS exporting (it's not). It was reported by various
1099 people, but Dana Henriksen has finally helped me to track it down,
1100 so big thanks to him
1102 * kernel: Protect against truncation of a swapfile
1104 2006-10-10 Miklos Szeredi <miklos@szeredi.hu>
1106 * kernel: Check for signature of super_operations->umount_begin().
1107 Ubuntu kernel 2.6.17 seems to use the new signature found in
1108 2.6.18. Thanks to Florent Mertens for the report
1110 2006-10-08 Miklos Szeredi <miklos@szeredi.hu>
1112 * Make sure inode numers wrap around at 2^32. This is needed on
1113 dual 64bit/32bit architectures, because 32bit applications using
1114 the non-largefile interface would otherwise break (EOVERFLOW error
1115 would be returned by the stat() system call family)
1117 * ulockmgr: handle the case, when a locking operation fails
1118 because no more file desctriptors are available in
1119 ulockmgr_server. Also work around a Linux kernel bug (known to
1120 exist for all Linux kernel versions <= 2.6.18) which may cause
1121 sent file descriptors to be lost in the above case
1123 * ulockmgr: optimize file descriptor use
1125 * restore needed cpp flags to util/Makefile.am
1127 * Install udev rules as 99-fuse.rules instead of 60-fuse.rules
1129 * Minor clean up of udev rules
1131 * Add a synchronous DESTROY message to kernel interface. This is
1132 invoked from umount, when the final instance of the filesystem is
1133 released. It is only sent for filesystems mounted with the
1134 'blkdev' option for security reasons.
1136 * If the DESTROY message is received, call the filesystem's
1137 ->destroy() method. In this case it's not called from session
1138 destruction as it would be otherwise.
1140 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
1142 * Released 2.6.0-rc2
1144 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
1146 * Add support for FLUSH+RELEASE operation for FreeBSD. Original
1149 * Add init script to insert fuse module and mount the control
1150 filesystem. The script is installed as /etc/init.d/fuse and on
1151 debian based systems (where update-rc.d is available) symlinks
1152 from /etc/rc*.d/ are also installed.
1154 * Include '#define FUSE_USE_VERSION=XX' into examples so they
1155 become more self contained.
1157 2006-09-30 Miklos Szeredi <miklos@szeredi.hu>
1161 * Move lock_owner from a separate argument into fuse_file_info
1163 * Add a flag to fuse_file_info indicating (1) a highlevel lock
1164 operation (unlock all) was initiated by a flush, (2) a lowlevel
1165 release operation should perform a flush as well.
1167 * fusermount: revert modprobe change (2006-08-18) since it
1168 doesn't work reliably with udev
1170 * Add support for block device backed filesystems. This mode is
1171 selected with the 'blkdev' option, which is privileged.
1173 * Add support for the bmap (FIBMAP ioctl) operation on block
1174 device backed filesystems. This allows swapon and lilo to work on
1179 * Drop support for kernels earlier than 2.6.9. Kernel module from
1180 previous (2.5.x) release can be used with library from this
1183 * In fuse_dentry_revalidate() use dget_parent() instead of
1184 dereferencing d_parent, since there's no protection against parent
1185 changing and going away
1187 * Protect nlookup from concurrent updates
1189 * In lookup if a directory alias exists but is unused,
1190 then get rid of it, otherwise return -EBUSY.
1192 * In mkdir if a directory alias exists, return success, but leave
1193 dentry negative. In reality this could happen if a remote rename
1194 immediately followed the mkdir.
1196 * Don't BUG in fuse_iget() if multiple retries are needed to get a
1197 good inode. This could happen if several lookups are racing for
1200 2006-09-29 Miklos Szeredi <miklos@szeredi.hu>
1202 * Fix compilation on 2.6.9. Report from Troy Ayers
1204 2006-09-27 Miklos Szeredi <miklos@szeredi.hu>
1206 * Fix Oops in fuse_readpages(). Reported by David Shaw
1208 2006-09-24 Csaba Henk <csaba.henk@creo.hu>
1210 * Add support for nanosec times on FreeBSD
1212 * Fix FreeBSD compatibility issues
1214 2006-09-23 Miklos Szeredi <miklos@szeredi.hu>
1216 * Fix one more compatibility bug. Thanks to Ricardo Correia
1218 * Fix utimens compilation with uClibc. Patch from Jamie Guinan
1220 2006-09-22 Miklos Szeredi <miklos@szeredi.hu>
1222 * Fixed several compatibility bugs in low level interface.
1223 Reported by Ricardo Correia
1225 * Add workaround for ARM caching bug
1227 2006-09-16 Miklos Szeredi <miklos@szeredi.hu>
1229 * Rename new utimes() method to more logical utimens()
1231 2006-09-14 Miklos Szeredi <miklos@szeredi.hu>
1233 * Fuse tried to unlink already unlinked hidden files. Bug
1234 reported by Milan Svoboda
1236 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
1238 * Released 2.6.0-rc1
1240 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
1242 * kernel: Fix unlock on close for kernels < 2.6.18
1244 * Add ulockmgr library & server. This can be used for handling
1245 file locking requests either directly from libfuse or over a
1246 network, etc. This first version is not optimized and the number
1247 of file descriptors it uses may get out of hand
1249 2006-09-07 Miklos Szeredi <miklos@szeredi.hu>
1251 * lib: Add interrupt support to high level library, which may be
1252 enabled with the 'intr' mount option.
1254 * When an operation is interrupted the thread handling that
1255 operation will receive SIGUSR1 (or other signal specified with the
1256 'intr_signal=N' option). The library installs a no-op signal
1257 handler for this signal, unless there's already a handler
1260 * The filesystem may query interrupt status (regardless of 'intr')
1261 with the fuse_interrupted() function.
1263 * mount.fuse: initialize $HOME if not set. Report from Sven Goldt
1265 2006-09-03 Miklos Szeredi <miklos@szeredi.hu>
1267 * lib: Multithreaded loop now allows unlimited number of threads.
1268 This is needed for locking operations which may block
1269 indefinitely. Also the kernel now doesn't limit the number of
1270 outstanding requests so the library shouldn't do so either.
1272 2006-09-01 Miklos Szeredi <miklos@szeredi.hu>
1274 * Fix recursive lock bug in interrupt handling
1276 * Add utimes() method to highlevel interface, which supports
1277 setting times with nanosecond resolution
1279 2006-08-18 Miklos Szeredi <miklos@szeredi.hu>
1281 * kernel: fix page leak if fuse_readpages() failed in it's
1282 initialization. Bug found and original patch from Alexander
1285 * For linux kernels >=2.6.18 (2.6.19 if using the fuse module from
1286 the kernel tree) the statfs method will receive the path within
1287 the filesystem on which the stat(v)fs syscall was called
1289 * fusermount: try to modprobe fuse module if invoked by root and
1290 unable to open device. This is needed with udev, since the device
1291 node will be created only when the module is inserted, hence
1292 module autoloading won't work. Reported by Szakacsits Szabolcs
1294 2006-07-30 Miklos Szeredi <miklos@szeredi.hu>
1296 * fusermount: if selinux is active, restore the original file's
1297 security context in unmount_rename(). Redhat bugzilla id 188561.
1298 Patch from Yves Perrenoud
1300 * Add POSIX file locking operation to high level library
1302 * Initialize context for unlink of hidden files on umount. Bug
1303 reported by Tim Stoakes
1305 2006-07-14 Miklos Szeredi <miklos@szeredi.hu>
1307 * Multiple release() calls can race with each other, resulting in
1308 the hidden file being deleted before the last release finishes.
1309 Bug found and patch tested by Mark Huijgen
1311 2006-07-05 Miklos Szeredi <miklos@szeredi.hu>
1313 * fusermount: if /dev/fuse doesn't exist, suggest modprobing fuse;
1314 this makes sense on systems using udev. Reported by Szakacsits
1317 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
1319 * Released 2.6.0-pre3
1321 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
1323 * Support in kernel module for file locking and interruption. The
1324 same functionality is available in official kernels >= 2.6.18
1326 2006-06-28 Miklos Szeredi <miklos@szeredi.hu>
1328 * Add POSIX file locking support
1330 * Add request interruption
1332 2006-06-06 Miklos Szeredi <miklos@szeredi.hu>
1334 * Add missing pthread_rwlock_destroy(). Patch from Remy Blank
1336 2006-06-05 Remy Blank <remy.blank@pobox.com>
1338 * lib: canonicalize mount point in fuse_helper_opt_proc() so that
1339 unmounting succeeds even if mount point was relative.
1341 2006-06-04 Csaba Henk <csaba.henk@creo.hu>
1343 * lib: fix emergency umount in helper.c when malloc fails.
1344 (The way it was done would end up in a segfault.)
1346 2006-06-01 Csaba Henk <csaba.henk@creo.hu>
1348 * lib: adjust threading related compiler flags.
1349 Switch to "-pthread" from "-lpthread" as that's the preferred
1350 one on several platforms. Consulted with Terrence Cole and
1353 2006-05-08 Miklos Szeredi <miklos@szeredi.hu>
1355 * lib: search fusermount in installation directory (bindir) as
1358 2006-05-03 Miklos Szeredi <miklos@szeredi.hu>
1360 * lib: fix compilation if CLOCK_MONOTONIC is not defined.
1361 Reported by Christian Magnusson
1363 2006-04-23 Csaba Henk <csaba.henk@creo.hu>
1365 * lib: make FreeBSD mount routine recognize if kernel features
1366 backgrounded init and if it does, run the mount util in foreground
1367 (similarly to Linux)
1369 2006-04-21 Miklos Szeredi <miklos@szeredi.hu>
1371 * kernel: fix fput deadlock fix, the lockless solution could lead
1372 to "VFS: busy inodes after umount..."
1374 * kernel: fix race between checking and setting file->private_data
1375 for the device. Found by Al Viro
1377 2006-04-11 Miklos Szeredi <miklos@szeredi.hu>
1379 * kernel: remove request pool, instead allocate requests on
1380 demand. Account the number of background requests, and if they go
1381 over a limit, block the allocation of new requests.
1383 * kernel: fix deadlock if backgrounded request holds the last
1384 reference to the super block
1386 * kernel: don't use fuse_reset_request() during direct I/O
1388 2006-04-06 Csaba Henk <csaba.henk@creo.hu>
1390 * lib: Let FreeBSD mount option parsing routine recognize "no"
1391 prefixes for FUSE specific options as well
1393 2006-04-01 Miklos Szeredi <miklos@szeredi.hu>
1395 * lib: Add missing rwlock initialization. Patch by Ryan Bradetich
1397 2006-03-17 Miklos Szeredi <miklos@szeredi.hu>
1401 * fuse_main(), fuse_setup() and fuse_new() have an additionl
1404 * fuse_mount() returns a 'struct fuse_chan' pointer instead of a
1407 * fuse_unmount() receives a 'struct fuse_chan' pointer. It
1408 destroys the given channel
1410 * fuse_teardown() no longer has a file descriptor parameter
1412 * new exported functions: fuse_session_remove_chan(),
1413 fuse_get_session(), fuse_daemonize()
1415 * fuse_chan_recv() may now return a new channel which will be used
1418 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
1420 * Released 2.6.0-pre2
1422 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
1424 * Don't unmount if already unmounted. This fixes a problem seen
1425 in the following situation: Lazy unmount a busy filesystem; Mount
1426 a new one in top; When the first finally unmounts, the second also
1427 unmounts. Reported by Franco Broi
1429 2006-03-15 Miklos Szeredi <miklos@szeredi.hu>
1431 * lowlevel lib: use indirect function calls instead of a
1432 switch/case construct. Besides increased efficiency it helps
1433 maintainability & readability too. Patch from Florin Malita
1435 2006-03-13 Miklos Szeredi <miklos@szeredi.hu>
1437 * kernel: replace global spinlock with a per-connection spinlock
1439 2006-03-10 Miklos Szeredi <miklos@szeredi.hu>
1441 * Fix source compatibility breakage for fuse_unmount(). Report
1444 2006-03-02 Miklos Szeredi <miklos@szeredi.hu>
1446 * Fix O_ASYNC handling in fuse_dev_release(). From Jeff Dike
1448 2006-03-01 Miklos Szeredi <miklos@szeredi.hu>
1450 * Add O_ASYNC and O_NONBLOCK support to FUSE device. Patch by
1453 * Renamed fuse_chan_receive() to fuse_chan_recv() and changed
1454 interface to return -errno in case of error.
1456 2006-03-01 Csaba Henk <csaba.henk@creo.hu>
1458 * libfuse: pass device file descriptor to fuse_unmount(), rewrite
1459 FreeBSD implementation so that it uses libc (sysctl backed) instead
1460 of an embdedded script (kmem backed). Adjust the control flow of
1461 hello_ll so that device doesn't get closed before unmount attempt.
1463 2006-02-25 Miklos Szeredi <miklos@szeredi.hu>
1465 * Lowlevel lib: return all-zero statvfs data if filesystem doesn't
1466 implement method. This is needed on FreeBSD, and nicer on Linux
1467 too. Highlevel lib already did this. Reported by Csaba Henk
1469 * Fix negative entry handling. There was a bug, that negative
1470 lookups with timeouts (nodeid == 0) returned -EIO.
1472 2006-02-23 Miklos Szeredi <miklos@szeredi.hu>
1474 * Fix race between RELEASE and UNLINK, which might leave
1475 .fuse_hidden* files around
1477 2006-02-21 Miklos Szeredi <miklos@szeredi.hu>
1479 * fusexmp_fh: implement flush() method and call close() on the
1480 open file descriptor. This is needed if used on an NFS
1481 filesystem, which buffers data until file is closed. Franco Broi
1482 spotted the situation when 'cp -p' failed to set the modification
1483 time because of this.
1485 2006-02-20 Miklos Szeredi <miklos@szeredi.hu>
1487 * Released 2.6.0-pre1
1489 2006-02-19 Miklos Szeredi <miklos@szeredi.hu>
1491 * libfuse: fix use-after-free bug in interruptred reply_entry().
1492 Patch from John Muir
1494 * libfuse: fix wrong symbol versioning for fuse_mount. Debian bug
1495 ID: 352631. Found by Stéphane Rosi
1497 2006-02-17 Miklos Szeredi <miklos@szeredi.hu>
1499 * Lowlevel lib: Unify fuse_dirent_size() and fuse_add_dirent()
1500 into a single function fuse_add_direntry(). This cleans up the
1501 interface and makes it possible to do stacking.
1503 2006-02-16 Miklos Szeredi <miklos@szeredi.hu>
1505 * Fix rare race betweeen abort and release caused by failed iget()
1506 in fuse_create_open().
1508 * Add 'ac_attr_timeout' option e.g. for filesystems which do their
1509 own attribute caching.
1511 2006-02-15 Miklos Szeredi <miklos@szeredi.hu>
1513 * Work around FreeBSD runtime linker "feature" which binds an old
1514 version of a symbol to internal references if the symbol has more
1515 than one version. This resulted in infinite recursion in
1516 fuse_lowlevel_new_compat25().
1518 2006-02-10 Csaba Henk <csaba.henk@creo.hu>
1520 * Refine clock_gettime() querying so that linker options
1521 shall be set as it's appropriate for the target platform.
1523 2006-02-09 Miklos Szeredi <miklos@szeredi.hu>
1525 * Fix udev rule syntax. Reported by Nix
1527 2006-02-08 Miklos Szeredi <miklos@szeredi.hu>
1529 * In some cases udev rule seems to be ineffective when installed
1530 as 40-fuse.rules but work as 60-fuse.rules. Reported by John Hunt
1532 2006-02-03 Miklos Szeredi <miklos@szeredi.hu>
1534 * Fix compilation when build directory is different from source
1535 directory. Reported by Frédéric L. W. Meunier
1537 2006-02-02 Miklos Szeredi <miklos@szeredi.hu>
1539 * Fix even bigger bug introduced in fix for request_end() on
1540 2006-01-14. Reported by Gal Rosen
1542 2006-01-30 Miklos Szeredi <miklos@szeredi.hu>
1544 * highlevel-lib: add 'auto_cache' option. This caches file data
1545 based on modification time and size
1547 2006-01-20 Miklos Szeredi <miklos@szeredi.hu>
1549 * Sanitize storage type and help message in mount_bsd.c. Patch
1552 * fuse_opt: add new helper constants FUSE_OPT_KEY_KEEP and
1553 FUSE_OPT_KEY_DISCARD
1555 * Add options 'max_readahead', 'sync_read' and 'async_read'
1557 * Kernel ABI version 7.6:
1559 * Negotiate the 'max_readahead' value and 'async_read' flags with
1560 userspace in the INIT method
1562 * Add connection info to ->init() methods to both lowlevel and
1565 * Fall back to synchronous read() behavior if either library or
1566 userspace filesystem is using the old interface version. This is
1567 needed so non-updated filesystems won't be confused by the
1568 different read() behavior
1570 2006-01-19 Miklos Szeredi <miklos@szeredi.hu>
1572 * lib: if "fsname=" option was given, pass it to fusermount
1574 * fuse_opt: add new fuse_opt_insert_arg() function, which is
1575 needed by filesystems to implement some argument manipulations
1578 * fuse_opt: fix memory leak in handling "--" option
1580 2006-01-18 Miklos Szeredi <miklos@szeredi.hu>
1582 * kernel: fix detection of case when fuse is not configured into
1583 the kernel either as module or built-in
1585 * fuse_opt.h: fix incompatibility with C++ compilers by renaming
1586 'template' structure member to 'templ'. Reported by Takashi Iwai
1588 * fuse.h: fix compatibility bugs. Patch by Yura Pakhuchiy
1590 * kernel: support version 2.6.16 (i_sem -> i_mutex)
1592 2006-01-16 Miklos Szeredi <miklos@szeredi.hu>
1594 * Added (again) asynchronous readpages support
1596 * Each connection now shows up under /sys/fs/fuse/connections
1598 * Connection attributes exported to sysfs: 'waiting' number of
1599 waiting requests; 'abort' abort the connection
1601 * Connection may be aborted through either the sysfs interface or
1602 with 'umount -f mountpoint'
1604 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
1608 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
1610 * kernel: fix a couple of bugs
1612 * Order of request_end() and fuse_copy_finish() was wrong.
1613 Posthumous note: Franco Broi managed to exploit this, though it
1614 seemed quite impossible
1616 * request_end() used request pointer after decrementing refcount
1618 * Clearing ->connected or ->mounted connection flags could race
1619 with setting other bitfields not protected with a lock
1621 2006-01-10 Miklos Szeredi <miklos@szeredi.hu>
1623 * kernel: add necessary compile flags for 2.4.X/x86_64.
1624 Report from Sean Ziegeler
1626 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
1628 * Released 2.5.0-pre2
1630 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
1632 * Applied patch from Csaba Henk, to update mount_bsd to new
1633 fuse_mount() semantics
1635 * Ignore auto,noauto,... options in mount.fuse. Reported by Frank
1636 Steiner and Don Taber
1638 * fusermount: add 'dirsync' mount option
1640 2006-01-07 Miklos Szeredi <miklos@szeredi.hu>
1642 * Improved help reporting and added version reporting to library
1644 2006-01-06 Miklos Szeredi <miklos@szeredi.hu>
1646 * Change working directory to "/" even if running in the
1647 foreground. Patch from Jonathan Brandmeyer
1649 * Changed lots of functions to use 'struct fuse_args' instead of
1650 separate argc and argv
1652 * Added fuse_parse_cmdline(), fuse_set_signal_handlers() and
1653 fuse_remove_signal_handlers() functions, so that it's now pretty
1654 easy to get all the functionality of fuse_main() with a filesystem
1655 using the lowlevel API.
1657 2006-01-02 Miklos Szeredi <miklos@szeredi.hu>
1659 * mount.fuse: the 'user' option should be ignored. Report and
1660 solution from Mattd.
1662 * mount.fuse: export PATH in the right place. Report and patch
1663 from Hannes Schweizer
1665 2005-12-16 Miklos Szeredi <miklos@szeredi.hu>
1667 * Clean up the option parsing interface slightly, by creating an
1668 "argument list" structure, that contains the argument vector and
1671 2005-12-15 Miklos Szeredi <miklos@szeredi.hu>
1673 * fusermount: check if /mnt/mtab is a symlink and don't modify it
1676 * kernel: simplify request size limiting. INIT only contains
1677 maximum write size, maximum path component size remains fixed at
1678 1024 bytes, and maximum xattr size depends on read buffer.
1680 2005-12-14 Miklos Szeredi <miklos@szeredi.hu>
1682 * Fix readdir() failure on x86_64, of 32bit programs compiled
1683 without largefile support. Bug report and help from Anthony
1686 * If lookup returns invalid mode, return -EIO instead of creating
1689 * Add current output argument vector to option processing
1692 2005-12-12 Miklos Szeredi <miklos@szeredi.hu>
1694 * Fix stale code in ifdef FreeBSD. Patch from Csaba Henk
1696 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
1698 * Released 2.5.0-pre1
1700 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
1702 * libfuse: added option parsing interface, defined in
1705 2005-12-07 Miklos Szeredi <miklos@szeredi.hu>
1707 * Return EIO for file operations (read, write, fsync, flush) on
1708 open files whose inode has become "bad". Inodes will be marked
1709 "bad" if their type changes. Bug report by Csaba Henk
1711 2005-12-06 Miklos Szeredi <miklos@szeredi.hu>
1713 * Use bigger request buffer size. write() did not work on archs
1714 with > 4k page size, Bug report by Mark Haney
1718 * Extend INIT reply with data size limits
1720 2005-12-02 Miklos Szeredi <miklos@szeredi.hu>
1722 * Fix memory leak in fuse_read_cmd()/fuse_process_cmd(). Bug
1723 reported by Vincenzo Ciancia
1725 * Handle exit-by-umount in fuse_read_cmd()
1727 2005-11-29 Miklos Szeredi <miklos@szeredi.hu>
1729 * Check if '-msoft-float' option is supported by compiler when
1730 configuring for a 2.4.x kernel. Bug report by Mark Haney
1732 * In multithreaded loop send a TERM signal to the main thread if
1733 one of the other threads exit. Needed on FreeBSD for a clean exit
1734 on umount. Should not cause any harm on Linux either
1736 2005-11-28 Miklos Szeredi <miklos@szeredi.hu>
1738 * Fix bug in 32-bit file handle compatibility
1740 2005-11-27 Miklos Szeredi <miklos@szeredi.hu>
1742 * Block TERM, INT, HUP and QUIT signals in all but the main
1743 thread. According to POSIX it's not specified which thread will
1744 receive these signals.
1748 * Check for directory aliasing on mkdir, not just on lookup
1750 * Check for special node ID values in create+open operation
1752 * Sync with -mm: readv, writev, aio_read and aio_write methods
1753 added to file operations
1755 * Cleanups: lookup code, page offset calculation
1757 * ABI stepped to 7.4, changes:
1759 * frsize member added to fuse_kstatfs structure
1761 * added support for negative entry caching: on lowlevel API if
1762 fuse_entry_param::ino is set to zero in reply to a lookup request,
1763 the kernel will cache the dentry for the specified amount of time.
1765 * libfuse: added 'negative_timeout' option: specifies how much
1766 negative entries should be cached. Default is zero, to be
1767 compatible with prior versions
1769 2005-11-22 Miklos Szeredi <miklos@szeredi.hu>
1771 * Add detection of mainline FUSE code in running kernel
1773 2005-11-21 Miklos Szeredi <miklos@szeredi.hu>
1775 * Don't use async cancelation in multithreaded loop. This makes
1776 it more portable to systems where read() is not async cancel safe.
1777 Report from Andriy Gapon
1779 2005-11-20 Miklos Szeredi <miklos@szeredi.hu>
1781 * Warn if API version 11 compatibility is requested
1783 2005-11-17 Miklos Szeredi <miklos@szeredi.hu>
1785 * More FreeBSD merge
1787 * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in
1788 them, because it corrupts /etc/mtab. Found by Thomas Biege
1791 * libfuse: don't use system() to invoke 'fusermount -u ...'
1792 because it breaks mountpoints with spaces in them into multiple
1795 2005-11-16 Miklos Szeredi <miklos@szeredi.hu>
1797 * Merge library part of FreeBSD port. Patch by Csaba Henk
1799 2005-11-11 Miklos Szeredi <miklos@szeredi.hu>
1801 * Use 64bit type for file handle, so the full range supported by
1802 the kernel interface is available to applications
1804 2005-11-10 Miklos Szeredi <miklos@szeredi.hu>
1806 * Moved mountpoint argument checking from fuse_parse_cmdline() to
1807 fuse_mount() in preparation to FreeBSD merge.
1809 2005-11-08 Miklos Szeredi <miklos@szeredi.hu>
1811 * Remove unneeded close() from fuse_teardown(). Spotted by Csaba
1814 2005-11-07 Miklos Szeredi <miklos@szeredi.hu>
1816 * Make the statfs change backwards compatible.
1818 2005-11-06 Miklos Szeredi <miklos@szeredi.hu>
1820 * Change ->statfs() method to use 'struct statvfs' instead of
1821 'struct statfs'. This makes the API more portable since statvfs()
1822 is defined by POSIX.
1824 2005-10-28 Miklos Szeredi <miklos@szeredi.hu>
1826 * Add fgetattr() method, which currently will only be called after
1827 a successful call to a create() method.
1829 2005-10-26 Miklos Szeredi <miklos@szeredi.hu>
1831 * Change kernel ABI version to 7.3
1833 * Add ACCESS operation. This is called from the access() system
1834 call if 'default_permissions' mount option is not given, and is
1835 not called on kernels 2.4.*
1837 * Add atomic CREATE+OPEN operation. This will only work with
1838 2.6.15 (presumably) or later Linux kernels.
1840 * Add ftruncate() method. This will only work with 2.6.15
1841 (presumably) or later Linux kernels.
1843 * Fix kernel module compile if kernel source and build directories
1844 differ. Report and initial patch by John Eastman
1846 2005-10-18 Miklos Szeredi <miklos@szeredi.hu>
1848 * lib: optimize buffer reallocation in fill_dir.
1850 2005-10-17 Miklos Szeredi <miklos@szeredi.hu>
1854 2005-10-14 Miklos Szeredi <miklos@szeredi.hu>
1856 * libfuse: add debug for write result (by Shaun Jackman) and
1857 warnings for too large read/write result
1859 2005-10-11 Miklos Szeredi <miklos@szeredi.hu>
1861 * Spelling fixes, thanks to Ioannis Barkas
1863 2005-10-10 Miklos Szeredi <miklos@szeredi.hu>
1865 * fuse_common.h: use extern "C". Thanks to Valient Gough for the
1868 2005-10-07 Miklos Szeredi <miklos@szeredi.hu>
1870 * highlevel-lib: init() and destroy() methods didn't have an
1871 initialized fuse_context. Bug reported by Tim Stoakes
1873 2005-10-04 Miklos Szeredi <miklos@szeredi.hu>
1877 2005-10-03 Miklos Szeredi <miklos@szeredi.hu>
1879 * Add documentation to fuse_lowlevel.h
1883 * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME
1885 * Move fuse_mount() and fuse_unmount() to fuse_common.h
1887 * Change the return type of fuse_reply_none() from int to void.
1889 2005-09-30 Miklos Szeredi <miklos@szeredi.hu>
1891 * kernel: NFS exporting leaked dentries. Bug found and fixed by
1894 2005-09-29 Miklos Szeredi <miklos@szeredi.hu>
1896 * fusermount: fix error message, when unable to open /dev/fuse.
1897 Report by Balázs Pozsár
1899 2005-09-28 Miklos Szeredi <miklos@szeredi.hu>
1901 * UClibc fixes from Christian Magnusson
1903 2005-09-27 Miklos Szeredi <miklos@szeredi.hu>
1905 * Added NAME="%k" to util/udev.rules. Fix by Mattias Wadman.
1907 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
1909 * Released 2.4.0-rc1
1911 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
1913 * fusermount: allow user umount in the case when /etc/mtab is a
1914 symlink to /proc/mounts. Reported by Balázs Pozsár.
1916 2005-09-23 Miklos Szeredi <miklos@szeredi.hu>
1918 * Check for special node ID values in lookup and creation
1920 2005-09-22 Miklos Szeredi <miklos@szeredi.hu>
1922 * Slight optimization in returning EINVAL error in case of an open
1925 2005-09-20 Miklos Szeredi <miklos@szeredi.hu>
1927 * Remove '--enable-auto-modprobe' configure flag. Module
1928 auto-loading is now handled by the kernel.
1930 2005-09-15 Miklos Szeredi <miklos@szeredi.hu>
1932 * Install UDEV rule file, so /dev/fuse is created with mode 0666.
1933 Help from Jens M. Noedler.
1935 2005-09-14 Miklos Szeredi <miklos@szeredi.hu>
1937 * Add memory cleanup on thread exit
1939 2005-09-13 Miklos Szeredi <miklos@szeredi.hu>
1941 * Set umask to zero in fusexmp and fusexmp_fh, so that
1942 files/directories are created with the requested mode.
1944 2005-09-12 Miklos Szeredi <miklos@szeredi.hu>
1946 * Don't ignore read error in multithreaded loop
1948 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
1950 * Released 2.4.0-pre2
1952 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
1954 * Revert lock and access operations. Postpone these until 2.5.
1956 2005-09-02 Miklos Szeredi <miklos@szeredi.hu>
1958 * Fix compile warning on 2.6.13 and later
1960 * Fix compilation on old kernels
1962 2005-08-19 Miklos Szeredi <miklos@szeredi.hu>
1964 * lib: always refresh directory contents after rewinddir() to
1965 conform to SUS. Bug found by John Muir.
1967 2005-08-15 Miklos Szeredi <miklos@szeredi.hu>
1969 * Released 2.4.0-pre1
1971 2005-08-14 Miklos Szeredi <miklos@szeredi.hu>
1973 * lib: cleaned up (or messed up, depending on your POV) the low
1974 level library API. Hopefully this is close to the final form.
1976 2005-08-05 Miklos Szeredi <miklos@szeredi.hu>
1978 * fusermount: don't allow empty mountpoint argument, which defeats
1979 automatic umounting in fuse_main(). Bugreport by Václav Jůza
1981 2005-08-03 Miklos Szeredi <miklos@szeredi.hu>
1983 * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler
1984 option is used (Paul Alfille).
1986 2005-08-02 Miklos Szeredi <miklos@szeredi.hu>
1988 * highlevel-lib: added mount options "attr_timeout" and
1989 "entry_timeout". These options control the length of time file
1990 attributes and entries (names) are cached. Both default to 1.0
1993 * kernel: correctly handle zero timeout for attributes and entries
1995 2005-08-01 Miklos Szeredi <miklos@szeredi.hu>
1997 * Added missing symbols to versionscript (Joshua J. Berry)
1999 * kernel: implement two flags, open can set: 'direct_io' and
2000 'keep_cache'. These correspond exactly to mount options
2001 'direct_io' and 'kernel_cache', but allow a per-open setting.
2003 * Move 'direct_io' and 'kernel_cache' mount option handling to
2004 userspace. For both mount options, if the option is given, then
2005 the respective open flag is set, otherwise the open flag is left
2006 unmodified (so the filesystem can set it).
2008 * lib (highlevel): make open method optional
2010 2005-07-28 Miklos Szeredi <miklos@szeredi.hu>
2012 * kernel: invalidate attributes for read/readdir/readlink
2015 * kernel: detect newer UML kernels
2017 2005-07-26 Miklos Szeredi <miklos@szeredi.hu>
2019 * Make the installation path of fuse.ko and mount.fuse
2020 configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH
2021 environment variables. Requirement and help from Csaba Henk.
2023 2005-07-22 Miklos Szeredi <miklos@szeredi.hu>
2025 * Fix bug, that causes filesystem requests to hang when unique
2026 request counter becomes negative. This happens after
2027 2,147,483,648 operations, so most people won't care. Thanks to
2028 Franco Broi for the report and testing.
2030 2005-07-21 Miklos Szeredi <miklos@szeredi.hu>
2032 * Don't change mtime/ctime/atime to local time on read/write.
2033 Bug reported by Ben Grimm
2035 * Install fuse_common.h and fuse_lowlevel.h. Report by Christian
2038 * fusermount: use getopt_long() for option parsing. It allows the
2039 use of '--' to stop argument scanning, so fusermount can now
2040 operate on directories whose names begin with a '-'. Patch by
2043 2005-07-15 Miklos Szeredi <miklos@szeredi.hu>
2045 * fusermount: add '-v', '--version' and '--help' options
2047 * add inode based API
2049 2005-07-12 Miklos Szeredi <miklos@szeredi.hu>
2051 * lib: don't block signals in worker threads. Problem noticed by
2054 2005-07-07 Miklos Szeredi <miklos@szeredi.hu>
2056 * lib: don't allow both 'allow_other' and 'allow_root' options to
2059 2005-07-06 Miklos Szeredi <miklos@szeredi.hu>
2061 * fusermount: check if mountpoint is empty (only '.' and '..' for
2062 directories, and size = 0 for regular files). If "nonempty"
2063 option is given, omit this check. This is useful, so users don't
2064 accidentally hide data (e.g. from backup programs). Thanks to
2065 Frank van Maarseveen for pointing this out.
2067 * kernel: check if mandatory mount options ('fd', 'rootmode',
2068 'user_id', 'group_id') are all given
2070 * lib: simplify 'readdir_ino' handling
2072 * lib: add mount options 'umask=M', 'uid=N', 'gid=N'
2074 2005-07-03 Miklos Szeredi <miklos@szeredi.hu>
2076 * kernel: clean up 'direct_io' code
2078 2005-06-28 Miklos Szeredi <miklos@szeredi.hu>
2080 * Add 'mount.fuse' written by Petr Klima
2082 * '/dev/fuse' is created by 'make install' if does not yet exist
2084 2005-06-20 Miklos Szeredi <miklos@szeredi.hu>
2086 * Fix UCLIBC compile error. Patch by Christian Magnusson
2088 2005-06-08 Miklos Szeredi <miklos@szeredi.hu>
2090 * Enable the auto-loading of the module via access to the
2091 corresponding device file. Patch by Takashi Iwai.
2093 * Allow mounting a regular file (over a regular file) for
2096 * Do not create temporary device file. Require "/dev/fuse" to
2097 exist, and be readable/writable by the mounting user.
2099 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
2103 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
2105 * Fix serious information leak: if the filesystem returns a short
2106 byte count to a read request, and there are non-zero number of
2107 pages which are not filled at all, these pages will not be zeroed.
2108 Hence the user can read out previous memory contents. Found by
2111 2005-05-27 Miklos Szeredi <miklos@szeredi.hu>
2113 * Add "readdir_ino" mount option, which tries to fill in the d_ino
2114 field in struct dirent. This mount option is ignored if "use_ino"
2115 is used. It helps some programs (e.g. 'pwd' used over NFS from a
2116 non-Linux OS). Patch by David Shaw.
2118 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
2122 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
2124 * File save in krusader and other editors doesn't work with sshfs,
2125 because open() is interrupted by a periodic signal, and open()
2126 restarts forever, without any progress. This could just be fixed
2127 in open(), but the problem is more generic: if signals are
2128 received more often than the filesystem can get the request to
2129 userspace, it will never finish. This is probably only a
2130 theoretical problem, nevertheless I'm removing the possibility to
2131 interrupt requests with anything other than SIGKILL, even before
2132 being sent to userspace. Bugreport by Eduard Czimbalmos.
2134 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
2136 * libfuse: add "tree_lock" rwlock, that is locked for write in
2137 rename, unlink and rmdir, and locked for read in all other
2138 operations. This should fix the rename/release race reported by
2139 Valient Gough and others. The solution is very coarse, a finer
2140 grained locking scheme could be implemented, but it would be much
2141 more complex. Let's see whether this is good enough.
2143 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
2147 2005-05-08 Miklos Szeredi <miklos@szeredi.hu>
2149 * Better fix for out of order FORGET messages. Now the
2150 LOOKUP/FORGET messages are balanced exactly (one FORGET can
2151 balance many lookups), so the order no longer matters. This
2152 changes the kernel ABI slightly, but the library remains backward
2155 2005-05-06 Miklos Szeredi <miklos@szeredi.hu>
2157 * Fix abort for out of order FORGET messages. Again. Spotted by
2158 Franco Broi again. Sorry :)
2160 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
2164 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
2166 * Make fusermount work with fuse kernel modules not yet supporting
2167 the "group_id" option (added for the purpose of stricter
2168 permission checking).
2170 2005-04-28 Miklos Szeredi <miklos@szeredi.hu>
2172 * Check for hard-linked directories in lookup. This could cause
2173 problems in the VFS, which assumes that such objects never exist.
2175 * Make checking of permission for other users more strict. Now
2176 the same privilege is required for the mount owner as for ptrace
2177 on the process performing the filesystem operation.
2179 2005-04-23 Miklos Szeredi <miklos@szeredi.hu>
2183 2005-04-22 Miklos Szeredi <miklos@szeredi.hu>
2185 * Add -msoft-float to kernel module compile flags for 2.4.X. This
2186 is needed on certain architectures. Report from Chris Kirby
2188 * Fix buggy behavior of open(..., O_CREAT|O_EXCL) if interrupted.
2189 Reported by David Shaw
2191 * Remove "allow_root" option from kernel module, and implement
2192 it's functionality in the library
2194 * Fix Oops caused by premature release of fuse_conn. Clean up
2195 related code, to be more readable
2197 * Sendfile should not use page cache if "direct_io" mount option
2200 2005-04-08 Miklos Szeredi <miklos@szeredi.hu>
2202 * Fix Oops in case of nfs export. Spotted by David Shaw
2204 * Fix another Oops in case of write over nfs with direct_io turned
2205 on. Again spotted by David Shaw
2207 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
2211 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
2213 * lib: finalized new readdir() interface, which now supersedes the
2216 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
2220 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
2222 * Implement backward compatibility with version 5 kernel ABI
2224 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
2228 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
2230 * kernel: fix dirent offset handling
2232 * lib: add readdir and releasedir methods
2234 * lib: use fh field of fuse_file_info in opendir, readdir,
2235 releasedir and fsyncdir methods
2237 * lib: check kernel API version and bail out of it's old. This
2238 will be properly fixed in the next release
2240 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
2244 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
2246 * kernel API: add padding to structures, so 64bit and 32bit
2247 compiler will return the same size
2249 * kernel API: add offset field to fuse_dirent. This will allow
2250 more sophisticated readdir interface for userspace
2252 * kernel API: change major number to 6
2254 * kernel: fix warnings on 64bit archs
2256 * kernel: in case of API version mismatch, return ECONNREFUSED
2258 2005-03-24 Miklos Szeredi <miklos@szeredi.hu>
2260 * kernel: trivial cleanups
2262 2005-03-21 Miklos Szeredi <miklos@szeredi.hu>
2264 * Add fsyncdir() operation
2266 2005-03-19 Miklos Szeredi <miklos@szeredi.hu>
2268 * kernel: add locking to background list (fixes previous fix)
2270 2005-03-18 Miklos Szeredi <miklos@szeredi.hu>
2272 * kernel: fix bug which could cause leave busy inodes after
2275 2005-03-08 Miklos Szeredi <miklos@szeredi.hu>
2277 * examples: add -lpthread to link flags to work around valgrind
2280 * lib: don't exit threads, so cancelation doesn't cause segfault
2282 2005-03-04 Miklos Szeredi <miklos@szeredi.hu>
2284 * kernel: fix nasty bug which could cause an Oops under certain
2285 situations. Found by Magnus Johansson
2287 2005-02-28 Miklos Szeredi <miklos@szeredi.hu>
2289 * libfuse: added opendir() method. This can be used in case
2290 permission checking in getdir() is too late. Thanks to Usarin
2291 Heininga for pointing out this deficiency
2293 * libfuse: added init() and destroy() methods to fuse_operations
2295 * kernel: llseek() method for files and directories made explicit
2297 * kernel: fixed inode leak in NFS export in case of nodeid
2300 2005-02-15 Miklos Szeredi <miklos@szeredi.hu>
2302 * libfuse: clean up some unitialized memory found with valgrind
2304 * Add -lpthread to Libs in fuse.pc. Valgrind seems to need an
2305 explicitly linked libpthread for applications
2307 2005-02-10 Miklos Szeredi <miklos@szeredi.hu>
2309 * fusermount: set umask, otherwise /etc/mtab will have
2310 unpredictable permission. Spotted by Jindrich Kolorenc
2312 * fusermount: set owner and group of /etc/mtab to original values
2315 * libfuse: add 'use_ino' option to help. Patch by Valient Gough
2317 2005-02-07 Miklos Szeredi <miklos@szeredi.hu>
2319 * Cleaned up directory reading (temporary file is not used)
2321 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
2325 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
2327 * Fix possible race when operation is interrupted
2329 2005-01-28 Miklos Szeredi <miklos@szeredi.hu>
2331 * Fix compilation on 2.6.7
2333 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
2337 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
2339 * Fix bug in link() operation which caused the wrong path to be
2340 passed as the first argument. Found by Anton Altaparmakov
2342 2005-01-21 Miklos Szeredi <miklos@szeredi.hu>
2344 * LIB: fix double reply in readdir operation
2346 * fusermount: fix uid checking bug. Patch by Adam Connell
2348 * KERNEL: fix compile on various RedHat patched 2.4 kernels.
2349 Patch by Keshava Gowda
2351 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
2353 * KERNEL: provide correct llseek semantics for fuse device (fixes
2354 a bug on Progeny 2.4.20 kernel). Reported by Valient Gough
2356 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
2358 * Released 2.2-pre5 (matches kernel 2.6.11-rc1-mm2)
2360 2005-01-18 Miklos Szeredi <miklos@szeredi.hu>
2362 * KERNEL ABI: remove GETDIR operation, and add OPENDIR, READDIR
2363 and RELEASEDIR. This ends the ugly hack of passing a file
2364 descriptor to the kernel, and actually makes the code simpler.
2366 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
2370 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
2372 * fusermount: remove capability setting, which was the cause of
2373 problems for some users. It seems that FS related capabilities
2374 are removed by setfsuid(), so this isn't even needed.
2376 2005-01-15 Miklos Szeredi <miklos@szeredi.hu>
2378 * fix compilation on 2.4 kernels (reported by Valient Gough)
2380 * fix failure to unmount bug (found by David Shaw)
2382 * fusermount: improve parsing of /etc/fuse.conf
2384 2005-01-13 Miklos Szeredi <miklos@szeredi.hu>
2386 * Remove 'mount_max' and 'user_allow_other' module options. These
2387 are now checked by fusermount, and can be set in /etc/fuse.conf
2389 * KERNEL: change check for fsid == 0 to capable(CAP_DAC_OVERRIDE)
2391 2005-01-11 Miklos Szeredi <miklos@szeredi.hu>
2393 * KERNEL: fix possible inode allocation problem, where
2394 sizeof(struct inode) is not aligned (found by Mike Waychison)
2396 * KERNEL: use new follow_link/put_link methods
2398 * KERNEL: cosmetic fixes
2400 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
2404 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
2406 * Add missing code that was accidently left out
2408 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2412 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2414 * Change "uid" mount option to "user_id" to avoid confusion with a
2415 mount option "uid" commonly used by many filesystems
2417 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2421 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2423 * If FUSE is configured in the kernel, don't build it by default
2425 2005-01-07 Miklos Szeredi <miklos@szeredi.hu>
2427 * Compile fix by Christian Magnusson
2429 2005-01-05 Miklos Szeredi <miklos@szeredi.hu>
2431 * Fix compilation for 2.6.{0-5} kernels
2433 2005-01-04 Miklos Szeredi <miklos@szeredi.hu>
2435 * KERNEL: if request is interrupted, still keep reference to used
2436 inode(s) and file, so that FORGET and RELEASE are not sent until
2437 userspace finishes the request.
2439 * remove /{sys,proc}/fs/fuse/version, and instead add an INIT
2440 request with the same information, which is more flexible,
2441 simpler, works on embedded systems.
2443 2004-12-16 Miklos Szeredi <miklos@szeredi.hu>
2445 * KERNEL ABI: update interface to make it independent of type
2446 sizes. This will help on 64 bit architectures which can run
2447 legacy 32 bit applications.
2449 * KERNEL ABI: add "len" field to request headers. This will allow
2450 sending/receiving requests in multiple chunks.
2452 * KERNEL: handle file type change more intelligently
2454 * LIB: "-o debug" option should disable backgrounding (fix by
2455 Fabien Reygrobellet)
2457 2004-12-13 Miklos Szeredi <miklos@szeredi.hu>
2459 * KERNEL: invalidate dentry/attributes if interrupted request
2460 could leave filesystem in an unknown state.
2462 2004-12-12 Miklos Szeredi <miklos@szeredi.hu>
2464 * KERNEL: lots of cleanups related to avoiding possible deadlocks.
2465 These will cause some regressions, but stability is considered
2466 more important. If any of these features turns out to be
2467 important, it can be readded with the deadlock problems addressed.
2469 * Make all requests interruptible (only with SIGKILL currently).
2470 This can be used to break any deadlock produced by the userspace
2471 filesystem accessing it's own exported files. The RELEASE request
2472 is special, because if it's interrupted before sending it to
2473 userspace it is still sent, but the reply is not awaited.
2475 * If request is interrupted before being sent to userspace, and if
2476 it hasn't yet got any side effects, it is always restarted,
2477 regardless of the SA_RESTART flag. This makes these interruptions
2478 transparent to the process.
2480 * Remove shared-writable mmap support, which was prone to an
2481 out-of-memory deadlock situation
2483 * Remove INVALIDATE userspace initiated request
2485 * Make readpages() synchronous. Asynchronous requests are
2486 deadlock prone, since they cannot be interrupted.
2488 * Add readv/writev support to fuse device operations
2490 * Remove some printks, which userspace FS can use for a DoS
2493 * Remove 'large_read' mount option from 2.6 in kernel, check it in
2496 * LIB: improve compatibility with a fuse.h header installed in
2497 ${prefix}/include which in turn includes the real header.
2499 * LIB: improve compatibility by defining fuse_main() (which is now
2500 not used), so old configure scripts find it.
2502 2004-12-10 Miklos Szeredi <miklos@szeredi.hu>
2504 * When mounting on a subdirectory of / don't duplicate slashes at
2505 the beggining of path (spotted by David Shaw)
2507 2004-12-09 Miklos Szeredi <miklos@szeredi.hu>
2509 * Fix bug causing garbage in mount options (spotted by David Shaw)
2511 2004-12-07 Miklos Szeredi <miklos@szeredi.hu>
2513 * Add 'writepage' flag to 'fuse_file_info'.
2515 * More comments in fuse.h
2517 * Get rid of double underscores
2519 2004-12-04 Miklos Szeredi <miklos@szeredi.hu>
2521 * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config
2523 * helper.c: add -ho option, which only displays the options not
2524 the usage header. This can be used by filesystems which have
2527 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
2529 * Add source compatibility to 2.1 and 1.1 APIs. To select betwen
2530 versions simply define FUSE_USE_VERSION to 22, 21 or 11 before
2531 including the fuse header
2533 * Add binary compatibility to 2.1 version of library with symbol
2536 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
2540 2004-12-01 Miklos Szeredi <miklos@szeredi.hu>
2542 * kernel: clean up writing functions
2544 * kernel: no allocation on write in direct_io mode
2546 * move linux/fuse.h to fuse_kernel.h
2548 2004-11-30 Miklos Szeredi <miklos@szeredi.hu>
2550 * kernel: clean up reading functions
2552 2004-11-29 Miklos Szeredi <miklos@szeredi.hu>
2554 * kernel: make readpage() uninterruptible
2556 * kernel: check readonly filesystem flag in fuse_permission
2558 * lib: don't die if version file not found and new style device
2561 * lib: add '-r' option, which is short for '-o ro'
2563 * fusermount: simplify device opening
2565 * kernel: when direct_io is turend on, copy data directly to
2566 destination without itermediate buffer. More efficient and safer,
2567 since no allocation is done.
2569 * fusermount: fix warning if fuse module is not loaded
2571 * kernel: use /dev/fuse on 2.4 too
2573 2004-11-26 Miklos Szeredi <miklos@szeredi.hu>
2575 * libfuse API change: open, read, write, flush, fsync and release
2576 are passed a 'struct fuse_file_info' pointer containing the open
2577 flags (open and release), and the file handle. Verion changed to
2580 2004-11-23 Miklos Szeredi <miklos@szeredi.hu>
2582 * More cleanups in the kernel
2584 * The 10,229 charater device number has been assigned for FUSE
2586 * Version file checking fix (reported by Christian Magnusson)
2588 * fusermount: opening the fuse device now doesn't need /sys.
2590 * Optimize reading by controlling the maximum readahead based on
2591 the 'max_read' mount option
2593 * fixes for UCLIBC (Christian Magnusson)
2595 2004-11-19 Miklos Szeredi <miklos@szeredi.hu>
2597 * Cleaned up kernel in preparation for merge into mainline:
2599 * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version
2601 * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev
2603 * __user annotations for sparse
2605 * allocate individual pages instead of kmalloc in fuse_readdir,
2606 fuse_read and fuse_write.
2608 * Fix NFS export in case "use_ino" mount option is given
2610 * Make libfuse and fusermount compatible with future versions
2612 * fusermount: properly add mount options to /etc/mtab
2614 2004-11-15 Miklos Szeredi <miklos@szeredi.hu>
2616 * fusermount: do not resolve last component of mountpoint on if it
2617 is '.' or '..'. This new path resolvation is now done on mount as
2618 well as unmount. This enables relative paths to work on unmount.
2620 * fusermount: parse common mount options like "ro", "rw", etc...
2622 * Allow module params to be changed through sysfs
2624 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
2628 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
2630 * Fix bug in fuse_readpages() causing Oops in certain situations.
2631 Bug found by Vincenzo Ciancia.
2633 * Fix compilation with kernels versions > 2.6.9.
2635 2004-11-11 Miklos Szeredi <miklos@szeredi.hu>
2637 * Check kernel interface version in fusermount to prevent
2638 strangeness in case of mismatch.
2640 * No need to allocate fuse_conn until actual mount happens
2642 * Fix potential race between umount and fuse_invalidate
2644 * Check superblock of proc file in addition to inode number
2646 * Fix race between request_send_noreply() and fuse_dev_release()
2648 2004-11-10 Miklos Szeredi <miklos@szeredi.hu>
2650 * Separate configure for the kernel directory
2652 * Don't allow write to return more than 'count'
2654 * Extend kernel interface for future use
2656 2004-11-09 Miklos Szeredi <miklos@szeredi.hu>
2658 * Fix 'makeconf.sh' to use autoreconf if available
2660 2004-11-08 Miklos Szeredi <miklos@szeredi.hu>
2662 * Add ino argument to 'fuse_dirfil_t'. NOTE: This breaks source
2663 compatibility with earlier versions. To compile earier versions
2664 just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
2665 Do not use the "use_ino" mount flag with filesystems compiled with
2668 * Add pkg-config support. To compile a FUSE based filesystem you
2669 can do "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
2670 or similar. Note, that the PKG_CONFIG_PATH environment variable
2671 usually needs to be set to "/usr/local/lib/pkgconfig".
2673 * fuse.h is now installed in ${prefix}/include/fuse/
2675 2004-11-02 Miklos Szeredi <miklos@szeredi.hu>
2677 * Added "use_ino" mount option. This enables the filesystems to
2678 set the st_ino field on files
2680 2004-11-01 Miklos Szeredi <miklos@szeredi.hu>
2682 * Fix compile problems with ancient (<=2.4.18) kernels (reported
2685 * Add "allow_root" mount option. Patch by Yaroslav Rastrigin
2687 * Clear the 'exited' flag when mail loop is finished
2689 2004-10-28 Miklos Szeredi <miklos@szeredi.hu>
2691 * Make xattr functions work under 2.6 (bug found by Vincenzo
2694 2004-10-26 Miklos Szeredi <miklos@szeredi.hu>
2696 * Reset request in fuse_flush() (bugreport by David Shaw)
2698 2004-10-21 Miklos Szeredi <miklos@szeredi.hu>
2700 * fuse_main() now does not exit on error, rather it returns an
2703 * Exported __fuse_setup() and __fuse_teardown() functions, which
2704 make it easier to implement a custom event loop.
2706 * Use daemon() call to background the filesystem after mounting.
2707 This function closes the standard input, output and error and
2708 changes the current working directory to "/".
2710 2004-10-14 Miklos Szeredi <miklos@szeredi.hu>
2714 2004-10-09 Miklos Szeredi <miklos@szeredi.hu>
2716 * Don't allow fuse_flush() to be interrupted (bug found by David
2719 2004-09-27 Miklos Szeredi <miklos@szeredi.hu>
2721 * Add PID to fuse_context. Patch by Steven James
2723 * Change file handle type to 'unsigned long' in kernel interface
2725 2004-09-22 Miklos Szeredi <miklos@szeredi.hu>
2727 * A slight API change: fuse_get_context() doesn't need the "fuse"
2728 pointer, but the returned context contains it instead. The
2729 fuse_get() function is not needed anymore, so it's removed.
2731 * Fix mounting and umounting FUSE filesystem under another FUSE
2732 filesystem by non-root (bug spotted by Valient Gough)
2734 2004-09-21 Miklos Szeredi <miklos@szeredi.hu>
2736 * Fix deadlock in case of memory allocation failure. Patch by
2739 2004-09-16 Miklos Szeredi <miklos@szeredi.hu>
2741 * Check memory allocation failures in libfuse
2743 2004-09-14 Miklos Szeredi <miklos@szeredi.hu>
2745 * Check temporary file creation failure in do_getdir(). Bug
2746 spotted by Terje Oseberg
2748 2004-09-13 Miklos Szeredi <miklos@szeredi.hu>
2750 * Allow "large_read" option for 2.6 kernels but warn of deprecation
2752 * Make requests non-interruptible so race with FORGET is avoided.
2753 This is only a temporary solution
2755 * Support compiling FUSE kernel module on 2.4.x UML kernels
2757 2004-09-09 Miklos Szeredi <miklos@szeredi.hu>
2759 * Fix bug in case two FORGETs for the same node are executed in
2760 the wrong order. Bug spotted and endured for months by Franco
2761 Broi, and logfile for solution provided by Terje Oseberg
2763 2004-09-01 Miklos Szeredi <miklos@szeredi.hu>
2765 * Add -D_REENTRANT to the compile flags
2767 * Add documentation of fuse internals by Terje Oseberg
2769 2004-08-16 Miklos Szeredi <miklos@szeredi.hu>
2771 * Change release method to be non-interruptible. Fixes bug
2772 causing missing release() call when program which has opened files
2773 is killed (reported by Franco Broi and David Shaw)
2775 2004-07-29 Miklos Szeredi <miklos@szeredi.hu>
2777 * Add fuse_invalidate() to library API
2779 2004-07-26 Miklos Szeredi <miklos@szeredi.hu>
2781 * Check permissions in setattr if 'default_permissions' flag is
2782 set. Bug spotted by Damjan Lango
2784 2004-07-24 Miklos Szeredi <miklos@szeredi.hu>
2786 * 'large_read' mount option removed for 2.6 kernels, since the
2787 default (dynamic read size) is better
2789 * Extend kernel API with file handles. A file handle is returned
2790 by open, and passed to read, write, flush, fsync and release.
2791 This is currently only used for debug output in the library.
2795 * Change the current directory to the mountpoint before checking
2796 the permissions and mount filesystem on "."
2798 * By default don't modprobe the fuse module for non-root. The old
2799 behavior can be restored with the '--enable-auto-modprobe' flag of
2802 * By default don't allow shared writable mappings for non-root.
2803 The old behavior can be restored with the 'user_mmap=1' module
2806 2004-07-23 Miklos Szeredi <miklos@szeredi.hu>
2808 * Clean up mount option passing to fusermount and to fuse_new()
2809 BEWARE: this changes the userspace API slightly, and the command
2810 line usage of programs using fuse_main()
2812 2004-07-20 Miklos Szeredi <miklos@szeredi.hu>
2814 * Optimize reading under 2.6 kernels by issuing multiple page
2815 asynchronous read requests
2817 2004-07-18 Miklos Szeredi <miklos@szeredi.hu>
2819 * Only use redirty_page_for_writepage() for kernels >= 2.6.6
2821 2004-07-16 Miklos Szeredi <miklos@szeredi.hu>
2823 * Separate directory entry and inode attribute validity timer
2825 * New write semaphore to stop page writeback during truncate
2827 * Fsync now waits for all writes to complete before sending the
2830 * Optimization: if a page is completely written by
2831 fuse_commit_write(), clear the dirty flag and set the uptodate
2834 * Some memory cleanup at exit
2836 2004-07-13 Miklos Szeredi <miklos@szeredi.hu>
2838 * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
2839 disable the "hide if open" behavior of unlink/rename.
2841 * If temporary buffer allocation fails in raw read, fall back to a
2844 2004-07-12 Miklos Szeredi <miklos@szeredi.hu>
2846 * Fix bug in do_open() in libfuse: open count was incremented
2847 after the reply is sent so it could race with unlink/forget and
2850 2004-07-08 Miklos Szeredi <miklos@szeredi.hu>
2852 * When performing create or remove operation, refresh the parent's
2853 attributes on next revalidate, as i_nlink (and maybe size/time)
2856 * Use redirty_page_for_writepage() in fuse_writepage() for skipped
2859 * Set set_page_dirty address space operation (2.6 only)
2861 2004-07-06 Miklos Szeredi <miklos@szeredi.hu>
2863 * Minor fix in read: print debug info even if read size is zero
2865 2004-07-04 Miklos Szeredi <miklos@szeredi.hu>
2867 * Fix race between truncate and writepage (fsx-linux now runs
2870 2004-07-02 Miklos Szeredi <miklos@szeredi.hu>
2872 * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch
2875 * Added option for direct read/write (-r)
2877 * Fix revalidate time setting for newly created inodes
2879 * Remove uid==0 check for '-x' option in fusermount (kernel checks
2882 * fuse_main() only installs handlers for signals (out of INT, HUP,
2883 TERM, PIPE), for which no handler has yet been installed
2885 * Add module option 'user_allow_other' which if set to non-zero
2886 will allow non root user to specify the 'allow_other' mount option
2887 ('-x' option of fusermount)
2889 * Fix deadlock between page writeback completion and truncate
2890 (bug found by Valient Gough with the fsx-linux utility)
2892 2004-07-01 Miklos Szeredi <miklos@szeredi.hu>
2894 * Change passing fuse include dir to 2.6 kernel make system more
2895 robust (fixes compile problems seen on SuSE 9.1 with updated 2.6
2898 2004-06-30 Miklos Szeredi <miklos@szeredi.hu>
2900 * Acquire inode->i_sem before open and release methods to prevent
2901 concurrent rename or unlink operations.
2903 * Make __fuse_read_cmd() read only one command. This allows
2904 multiplexing the fuse file descriptor with other event sources
2905 using select() or poll() (patch by Jeff Harris)
2907 * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)
2909 2004-06-27 Miklos Szeredi <miklos@szeredi.hu>
2911 * Fix file offset wrap around at 4G when doing large reads
2913 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
2915 * Fix memory leak in open (Valient Gough)
2917 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
2919 * Add "close after delete" support to libfuse (patch by Valient
2922 * Cancel all worker threads before exit in multithreaded mode
2924 2004-06-23 Miklos Szeredi <miklos@szeredi.hu>
2928 * Don't send reply to RELEASE
2930 * Work with newer libtool (1.5a)
2932 * Check for st_atim member of struct stat
2934 2004-06-22 Miklos Szeredi <miklos@szeredi.hu>
2936 * No request allocation needed on inode and file release
2938 2004-06-21 Miklos Szeredi <miklos@szeredi.hu>
2940 * Fix possible inode leak in userspace in case of unfinished
2941 lookup/mknod/mkdir/symlink/link operation.
2943 2004-06-20 Miklos Szeredi <miklos@szeredi.hu>
2945 * Fix some races and cleanups in fuse_read_super()
2947 2004-06-19 Miklos Szeredi <miklos@szeredi.hu>
2949 * Requests are allocated at open time
2951 2004-06-03 Miklos Szeredi <miklos@szeredi.hu>
2953 * Build shared library as well as static (using libtool)
2955 * Change FUSE_MINOR_VERSION from 1 to 0. I know it's illegal but
2956 there has not been a release with the previous minor number, and I
2957 hope nobody is using it for anything.
2959 * Change fuse_main(), so that default behavior is to go into
2960 background if mount is successful. '-f' and '-d' options disable
2961 backgrounding. This fixes the "Why does my FUSE daemon hang?"
2964 * Cache ENOSYS (function not implemented) errors on *xattr, flush
2967 * Don't call getdir method from open() only from first readdir().
2968 Open is sometimes just used to store the current directory
2971 2004-05-18 Miklos Szeredi <miklos@szeredi.hu>
2973 * Added flush() call
2975 2004-05-04 Miklos Szeredi <miklos@szeredi.hu>
2977 * Extended attributes support for 2.4 (patch by Cody Pisto)
2979 2004-04-20 Miklos Szeredi <miklos@szeredi.hu>
2981 * Fixed parser with modversions (Mattias Wadman)
2983 2004-04-19 Miklos Szeredi <miklos@szeredi.hu>
2985 * Added mount option parser to 2.4 build
2987 2004-04-13 Miklos Szeredi <miklos@szeredi.hu>
2989 * Replaced binary mount data with text options
2991 * Show FUSE specific mount options in /proc/mounts
2993 * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64
2995 2004-04-09 Miklos Szeredi <miklos@szeredi.hu>
2997 * Check some limits so userspace won't get too big requests
2999 2004-04-05 Miklos Szeredi <miklos@szeredi.hu>
3001 * Kill compile warning
3003 * Upgraded user-mount patch for 2.6.5
3005 2004-04-02 Miklos Szeredi <miklos@szeredi.hu>
3007 * Add detection of user-mode-linux to configure
3009 2004-03-31 Miklos Szeredi <miklos@szeredi.hu>
3011 * fixed zero size case for getxattr and listxattr
3013 2004-03-30 Miklos Szeredi <miklos@szeredi.hu>
3015 * new fusermount flag '-z': lazy unmount, default is not lazy
3017 * Extended attributes operations added (getxattr, setxattr,
3018 listxattr, removexattr)
3020 2004-03-25 Miklos Szeredi <miklos@szeredi.hu>
3022 * If filesystem doesn't define a statfs operation, then an
3023 all-zero default statfs is returned instead of ENOSYS
3025 2004-03-24 Miklos Szeredi <miklos@szeredi.hu>
3027 * Add FS_BINARY_MOUNTDATA filesystem flag for kernels > 2.6.4
3029 2004-03-09 Miklos Szeredi <miklos@szeredi.hu>
3031 * Fix for uClinux (Christian Magnusson)
3033 2004-03-02 Miklos Szeredi <miklos@szeredi.hu>
3035 * fuse_main() adds "-n progname" to the fusermount command line
3037 * More kernel interface changes:
3039 * Lookup/getattr return cache timeout values
3041 2004-02-25 Miklos Szeredi <miklos@szeredi.hu>
3043 * Clean up option parsing in fuse_main()
3045 * Added fuse_get() function which returns the fuse object created
3048 2004-02-20 Miklos Szeredi <miklos@szeredi.hu>
3050 * removed old way of mounting (fusermount mountpoint program)
3052 * more kernel interface changes:
3054 * added nanosecond precision to file times
3056 * removed interface version from mount data
3058 * added /proc/fs/fuse/version which contains MAJOR.MINOR
3060 2004-02-19 Miklos Szeredi <miklos@szeredi.hu>
3062 * statfs library API changed to match other methods. Since this
3063 is not backward compatible FUSE_MAJOR_VERSION is changed to 2
3065 * kernel interface changes follow:
3067 * statfs changed to 64 bits, added 'bavail' field
3069 * add generation number to lookup result
3071 * optimized mknod/mkdir/symlink/link (no separate lookup is
3074 * rdev size increased to 32 bits for mknod
3076 * kernel interface version changed to 3.1
3078 2004-02-18 Miklos Szeredi <miklos@szeredi.hu>
3080 * user-mount upgraded for 2.6.3 kernel
3082 2004-02-17 Miklos Szeredi <miklos@szeredi.hu>
3084 * Added user-mount.2.6.2-rc3.patch
3086 * Add FS_SAFE flag to fuse filesystem
3088 * fusermount should allow (un)mounting for non-root even if not
3091 2004-02-12 Miklos Szeredi <miklos@szeredi.hu>
3093 * Remove MS_PERMISSION mount flag (that means something else now)
3095 2004-02-10 Miklos Szeredi <miklos@szeredi.hu>
3097 * Added check for i_size_read/write functions to configure.in
3098 (patch by Valient Gough)
3100 2004-02-06 Miklos Szeredi <miklos@szeredi.hu>
3102 * Fixed writing >= 2G files
3104 * Check file size on open (with generic_file_open())
3106 * Readpage calls flush_dcache_page() after storing data
3108 * Use i_size_read/write for accessing inode->i_size
3110 * Make loopback mount of a fuse file work
3112 2004-02-04 Miklos Szeredi <miklos@szeredi.hu>
3116 2004-01-29 Miklos Szeredi <miklos@szeredi.hu>
3118 * Properly check if the inode exists in fuse_invalidate
3120 2004-01-27 Miklos Szeredi <miklos@szeredi.hu>
3122 * Added -q option for fusermount
3124 * fuse_unmount() now uses -q option of fusermount, so no error is
3125 printed if the cause of the program exit is that the filesystem
3126 has already been unmounted
3128 * Fix i_nlink correctness after rmdir/unlink
3130 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
3134 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
3136 * Fix typo (thanks Marcos Dione)
3138 * Compile fixes for 2.4 kernels
3140 2004-01-23 Miklos Szeredi <miklos@szeredi.hu>
3142 * Fix CONFIG_MODVERSIONS compile on 2.6
3144 2004-01-22 Miklos Szeredi <miklos@szeredi.hu>
3146 * Write all pending data before a RELEASE operation
3148 * Suppress 'Bad file descriptor' warning on exit
3150 * Replaced fusermount option '-d xxx' with '-n xxx' so it doesn't
3151 get confused with '-d' of fuse_main() (sorry about this change)
3153 * New fusermount option '-l' which enables big reads. Big reads
3154 are now disabled by default.
3156 * fuse_main() can accept fusermount arguments after a '--'
3158 2004-01-19 Miklos Szeredi <miklos@szeredi.hu>
3160 * Support for exporting filesystem over NFS (see README.NFS)
3162 2004-01-14 Miklos Szeredi <miklos@szeredi.hu>
3164 * Support non-blocking writepage on 2.6. This makes FUSE behave
3165 much more nicely in low-memory situations
3167 * Fix 32-bit dev handling in getattr and mknod for 2.6 kernels.
3168 (Note: the mknod method does not yet use 32bit device number)
3170 2004-01-13 Miklos Szeredi <miklos@szeredi.hu>
3174 2004-01-07 Miklos Szeredi <miklos@szeredi.hu>
3178 2004-01-06 Miklos Szeredi <miklos@szeredi.hu>
3180 * Integrated 2.6 kernel support patch by Michael Grigoriev
3182 * Improvements and cleanups for 2.6 kernels
3184 2004-01-05 Miklos Szeredi <miklos@szeredi.hu>
3186 * Added -d option to fusermount
3188 2003-12-15 Miklos Szeredi <miklos@szeredi.hu>
3190 * Added major+minor version to library API, and minor version to
3193 2003-12-13 David McNab <david@rebirthing.co.nz>
3195 * Implemented fsync support in examples/example.py
3197 * Implemented 'fsync' and 'statfs' methods in python
3200 2003-12-12 Miklos Szeredi <miklos@szeredi.hu>
3202 * Make it compile on 2.4.19.
3204 * Add fsync operation (write file failed on xemacs & vi)
3206 2003-12-12 David McNab <david@rebirthing.co.nz>
3208 * Added distutils support to the python module, as per standard
3209 python development practice
3211 2003-12-11 Miklos Szeredi <miklos@szeredi.hu>
3213 * Add file locking for mount/unmount (based on patch by Valient
3216 2003-12-11 David McNab <david@rebirthing.co.nz>
3218 * Python filesystem - was broken with python2.3, now fixed:
3219 - changed PyTuple_* calls to PySequence_*, because os.lstat
3220 is no longer returning a pure tuple
3221 - changed PyInt_Check() calls to also call PyLong_Check,
3222 to cover for cases (eg os.lstat) where longs are returned
3223 - Added support for file 'release' handling, which IMO is
3224 essential since this signals to a FS that writes to a file
3225 are complete (and therefore the file can now be disposed of
3226 meaningfully at the python filesystem's discretion)
3227 - Added '__init__' handler to base Fuse class, which allows
3228 your Python class to know the mountpoint and mount args,
3229 as attributes myfs.mountpoint, myfs.optlist, myfs.optdict
3232 - added 'mount.fuse' script (in util/ dir), which is meant to be
3233 symlinked from /sbin, and which allows FUSE filesystems to
3234 be mounted with the 'mount' command, and listed in fstab;
3235 also, mount arguments get passed to your filesystem
3238 2003-11-04 Miklos Szeredi <miklos@szeredi.hu>
3240 * Fix kernel version detection (again). Bugreport by Peter Levart
3242 2003-11-03 Miklos Szeredi <miklos@szeredi.hu>
3244 * Applied read combining patch by Michael Grigoriev (tested by
3245 Valient Gough and Vincent Wagelaar)
3247 2003-10-22 Miklos Szeredi <miklos@szeredi.hu>
3249 * Mtab handling fix in fusermount by "Valient Gough" (SF patch
3252 2003-10-13 Miklos Szeredi <miklos@szeredi.hu>
3254 * Error code fixes in kernel module
3256 2003-10-04 Miklos Szeredi <miklos@szeredi.hu>
3258 * kernel version detection fix
3260 * fusermount now uses "lazy" umount option
3262 * fusermount can use modprobe with module-init-tools
3264 2003-09-08 Miklos Szeredi <miklos@szeredi.hu>
3266 * Integrated caching patch by Michael Grigoriev
3268 * Added "Filesystems" file with descriptions of projects using
3271 * Added patch by Michael Grigoriev to allow compliation of FUSE
3272 kernel module for 2.6 kernels
3274 2003-06-02 Miklos Szeredi <miklos@szeredi.hu>
3276 * And another spec-file fix by Achim Settelmeier
3278 2003-05-26 Miklos Szeredi <miklos@szeredi.hu>
3280 * Spec-file fix by Achim Settelmeier
3282 2003-03-10 Miklos Szeredi <miklos@szeredi.hu>
3284 * Fix umount oops (found by Samuli Kärkkäinen)
3286 2003-03-05 Miklos Szeredi <miklos@szeredi.hu>
3288 * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier
3290 2003-03-04 Miklos Szeredi <miklos@szeredi.hu>
3292 * Updated fuse.spec file (Achim Settelmeier)
3294 2003-02-19 Miklos Szeredi <miklos@szeredi.hu>
3296 * Version 1.0 released
3298 2003-02-12 Miklos Szeredi <miklos@szeredi.hu>
3300 * SuSE compilation fix by Juan-Mariano de Goyeneche
3302 2002-12-10 Miklos Szeredi <miklos@szeredi.hu>
3304 * The release() VFS call is now exported to the FUSE interface
3306 2002-12-05 Miklos Szeredi <miklos@szeredi.hu>
3308 * 64 bit file offset fixes in the fuse kernel module
3310 * Added function 'fuse_exit()' which can be used to exit the main
3313 2002-12-03 Miklos Szeredi <miklos@szeredi.hu>
3315 * Added _FILE_OFFSET_BITS=64 define to fuse.h. Note, that this is
3316 an incompatible interface change.
3318 2002-10-28 Miklos Szeredi <miklos@szeredi.hu>
3320 * Portablility fix (bug reported by C. Chris Erway)
3322 2002-10-25 Miklos Szeredi <miklos@szeredi.hu>
3324 * Use Mark Glines' fd passing method for default operation instead
3327 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
3329 * fix "Stale NFS file handle" bug caused by changes in 2.4.19
3331 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
3333 * fix incompatiblity with Red Hat kernels, with help from Nathan
3336 2002-04-18 Mark Glines <mark@glines.org>
3338 * added an alternative to fuse_mount(), called
3339 fuse_mount_ioslave(), which does not need to reexec the
3341 * added a small helper util needed by fuse_mount_ioslave().
3343 2002-03-16 Mark Glines <mark@glines.org>
3345 * use struct fuse_statfs everywhere possible to avoid problems
3346 with the headerfiles changing struct statfs member sizes
3348 2002-03-01 Miklos Szeredi <miklos@szeredi.hu>
3350 * Another RPM spec file for RedHat >= 7 by Ian Pilcher
3352 2002-01-14 Miklos Szeredi <miklos@szeredi.hu>
3354 * RPM support by Achim Settelmeier
3356 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
3358 * Version 0.95 released
3360 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
3362 * Revaidate all path components not just the last, this means a
3363 very small performance penalty for being more up-to-date.
3365 2002-01-08 Miklos Szeredi <miklos@szeredi.hu>
3367 * Update and fix python interface
3369 2002-01-07 Mark Glines <mark@glines.org>
3371 * Added statfs() support to kernel, lib, examples, and perl!
3373 2001-12-26 Miklos Szeredi <miklos@szeredi.hu>
3375 * Better cross compilation support
3377 * Ported to Compaq IPAQ
3379 2001-12-20 Miklos Szeredi <miklos@szeredi.hu>
3381 * Added function fuse_get_context() to library API (inspired by
3382 patch from Matt Ryan)
3384 * Added flags to fusermount and to kernel interface to control
3387 * Integrated fuse_set_operations() into fuse_new()
3389 2001-12-08 Miklos Szeredi <miklos@szeredi.hu>
3391 * Applied header protection + extern "C" patch by Roland
3394 2001-12-02 Miklos Szeredi <miklos@szeredi.hu>
3396 * Added perl bindings by Mark Glines
3398 2001-11-21 Miklos Szeredi <miklos@szeredi.hu>
3400 * Cleaned up way of mounting simple filesystems.
3402 * fuse_main() helper function added
3404 2001-11-18 Miklos Szeredi <miklos@szeredi.hu>
3406 * Optimized read/write operations, so that minimal copying of data
3409 2001-11-14 Miklos Szeredi <miklos@szeredi.hu>
3411 * Python bindings by Jeff Epler added
3413 2001-11-13 Miklos Szeredi <miklos@szeredi.hu>
3415 * Fixed vfsmount reference leak in fuse_follow_link
3417 * FS blocksize is set to PAGE_CACHE_SIZE, blksize attribute from
3418 userspace is ignored
3420 2001-11-09 Miklos Szeredi <miklos@szeredi.hu>