1 2007-07-12 Miklos Szeredi <miklos@szeredi.hu>
3 * Reset args->argc in fuse_opt_free_args(). Patch by Lucas
6 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
10 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
12 * Accept a NULL "op" for fuse_main(), etc. This is useful if
13 filesystem is only invoking fuse to print a help message, or
14 version. Fixes RedHat bugzilla #217343
16 2007-06-22 Miklos Szeredi <miklos@szeredi.hu>
18 * lib: fix locking when loading a filesystem module
20 2007-06-21 Miklos Szeredi <miklos@szeredi.hu>
22 * Add fs subtype support to mount.fuse
24 2007-06-20 Miklos Szeredi <miklos@szeredi.hu>
26 * Add fs subtype support to libfuse and fusermount
28 2007-06-19 Miklos Szeredi <miklos@szeredi.hu>
30 * kernel: sync with mainline (2.6.22)
32 2007-06-18 Miklos Szeredi <miklos@szeredi.hu>
34 * Send debug output to stderr instead of stdout. Patch by Jan
37 2007-06-03 Miklos Szeredi <miklos@szeredi.hu>
39 * libulockmgr: Work around a kernel bug in recv(), causing it to
40 sometimes return zero even if data was available on the socket.
42 2007-05-29 Miklos Szeredi <miklos@szeredi.hu>
44 * lib: optimization: store parent pointer in node instead of
47 2007-05-25 Miklos Szeredi <miklos@szeredi.hu>
49 * lib: don't create new thread for each FORGET request. FORGET
50 messages sometimes caused so many threads to be created, that
51 process virtual memory space ran out. Reported by Chris AtLee
53 2007-05-24 Miklos Szeredi <miklos@szeredi.hu>
55 * lib: fix memory leak on thread creation failure in multithreaded
56 event loop. Found by Chris AtLee
58 2007-05-23 Miklos Szeredi <miklos@szeredi.hu>
60 * lowlevel lib: add fuse_reply_iov function, which is similar to
61 fuse_reply_buf, but accepts a vector of buffers. Patch by Roger
64 2007-05-21 Miklos Szeredi <miklos@szeredi.hu>
66 * Fix Oops or error if a regular file is created with mknod(2) on
67 a fuse filesystem. Kernels 2.6.18 onward are affected. Thanks to
68 J. Cameijo Cerdeira for the report
70 2007-05-11 Csaba Henk <csaba.henk@creo.hu>
72 * libfuse: fix return value of fuse_loop()/fuse_loop_mt().
73 Error reported by Csaba Henk, fix by Miklos Szeredi
75 * libfuse: fix unlock in flush
77 * libfuse: do unlocking on RELEASE+FLUSH
79 2007-05-03 Miklos Szeredi <miklos@szeredi.hu>
83 2007-05-02 Miklos Szeredi <miklos@szeredi.hu>
85 * kernel: sync with mainline:
87 * Use invalidate_mapping_pages() if available
89 * Fix BUG when invalid file type is supplied in mount. Patch by
92 2007-04-27 Miklos Szeredi <miklos@szeredi.hu>
94 * libfuse: call umount(8) directly instead of fusermount if
97 * Clean up init script, make it LSB compliant
99 2007-04-26 Miklos Szeredi <miklos@szeredi.hu>
101 * In multithreaded loop, use a semaphore instead of SIGHUP to wake
102 up the main thread on umount. This is more elegant, and works
103 even if signals are blocked.
105 2007-04-25 Miklos Szeredi <miklos@szeredi.hu>
107 * Improve mounting support in libfuse:
108 - check non-empty mountpoint
109 - only fall back to fusermount when necessary
111 2007-04-23 Miklos Szeredi <miklos@szeredi.hu>
113 * Don't chdir to "/" in foreground mode, it causes more trouble
116 2007-04-18 Miklos Szeredi <miklos@szeredi.hu>
118 * Replace utils/mount.fuse "sh" script with a "C" program
120 2007-04-15 Miklos Szeredi <miklos@szeredi.hu>
122 * Add -lulockmgr to compilation comment in fusexmp_fh.c
124 2007-04-05 Miklos Szeredi <miklos@szeredi.hu>
126 * Check for iconv. Patch by Csaba Henk
128 * Add direct umounting
130 * Use "fusectl" as the device for the fusectl filesystem. Debian
131 Bug#417945. Reported by Laurent Bonnaud
133 2007-04-01 Csaba Henk <csaba.henk@creo.hu>
135 * Fix some FreeBSD related macros.
137 2007-03-30 Miklos Szeredi <miklos@szeredi.hu>
139 * Add support for direct mounting by libfuse. Fall back on
140 calling fusermount if it doesn't work
142 2007-03-14 Miklos Szeredi <miklos@szeredi.hu>
144 * Released 2.7.0-pre1
146 2007-03-05 Miklos Szeredi <miklos@szeredi.hu>
148 * Correctly handle O_APPEND in direct IO mode. Reported by Greg
151 * mount.fuse should use /bin/bash. Debian Bug#413403. Reported
152 by Thomas Weinbrenner
154 2007-02-26 Miklos Szeredi <miklos@szeredi.hu>
156 * Fix detection of installed fuse in init script. Reported and
157 fix suggested by Davide Canova
159 2007-02-05 Miklos Szeredi <miklos@szeredi.hu>
161 * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
162 don't define mutex_destroy(), bummer. Patch from Phil Schwan
164 2007-02-04 Miklos Szeredi <miklos@szeredi.hu>
166 * Compile fuseblk for kernels which don't have an option to turn
167 off the block layer (CONFIG_BLOCK). Reported by Szakacsits
170 2007-02-03 Miklos Szeredi <miklos@szeredi.hu>
172 * Add filesystem stacking support to high level API. Filesystem
173 modules can be built into libfuse or loaded from shared object
176 * Add 'subdir' and 'iconv' built in modules
178 * lib/fuse.c: Fix locking for the reply code in create and open
180 2007-02-02 Miklos Szeredi <miklos@szeredi.hu>
182 * kernel: make it compile on "strange" kernels which have emulated
183 mutexes via <linux/mutex.h> but no i_mutex. Reported by Tomasz
186 2007-01-28 Miklos Szeredi <miklos@szeredi.hu>
188 * kernel: fix BUG in control filesystem if it is umounted and
189 mounted again, while some fuse filesystems are present.
190 Bugreport from Florent Mertens
192 * kernel: sync with mainline, support 2.6.20
194 2007-01-22 Miklos Szeredi <miklos@szeredi.hu>
196 * lib/Makefile.am: actually link libfuse against libfuse_libs
198 2007-01-19 Miklos Szeredi <miklos@szeredi.hu>
200 * Build fix for 2.6.16 vanila and 2.6.15 FC5 kernels. Patch from
203 2007-01-18 Miklos Szeredi <miklos@szeredi.hu>
205 * Fix abort in fuse_new() compatibility API for opts == NULL case.
206 Novell bugzilla #233870. Patch from Takashi Iwai.
208 2007-01-13 Miklos Szeredi <miklos@szeredi.hu>
210 * Fix option parsing in mount.fuse. Patch from Jens M. Noedler
212 2007-01-02 Miklos Szeredi <miklos@szeredi.hu>
214 * Fix unaligned access in file desctriptor passing in libfuse,
215 fusermount and ulockmgr. Debian bug ID: 404904. Reported and
216 tested by Sebastian Fontius
218 2006-12-16 Miklos Szeredi <miklos@szeredi.hu>
220 * kernel: don't keep unreferenced inodes in the icache.
222 2006-12-15 Miklos Szeredi <miklos@szeredi.hu>
224 * fusermount: Fix detection of fuseblk. Reported by Szakacsits
227 * lib: Fix use after free in fuse_flush(). Reported by Ron
230 2006-12-10 Miklos Szeredi <miklos@szeredi.hu>
232 * mount.fuse: add "setuid=USER" option which does a "su - USER"
235 * fusermount: use "/bin/mount -f" to add entry to /etc/mtab, and
236 "/bin/umount" to remove entry from /etc/mtab. This gets rid of
237 the ugly code dealing with mtab, as well as a possible race
238 between fusermount and mount trying to modify /etc/mtab at the
241 * Fix "buffer size too small: 4" warning for users of the
242 fuse_loop_mt_proc() function.
244 2006-12-04 Miklos Szeredi <miklos@szeredi.hu>
246 * Fix warnings with gcc-4.1 on 64bit archs. Report from
249 * Add extra warning options, and fix resulting warnings
251 * Really fix fuse_teardown problem
253 2006-12-02 Miklos Szeredi <miklos@szeredi.hu>
255 * Add -lrt to fuse.pc (if needed) to fix static linking against
256 libfuse. Reported by Szakacsits Szabolcs
258 2006-12-01 Miklos Szeredi <miklos@szeredi.hu>
262 2006-11-30 Miklos Szeredi <miklos@szeredi.hu>
264 * Fix API version 21 and 22 compatibility for fuse_teardown.
267 2006-11-29 Miklos Szeredi <miklos@szeredi.hu>
269 * fusermount: Print a more helpful message in case the kernel
270 doesn't support the 'fuseblk' filesystem type. This has been
271 biting ntfs-3g users. Reported by Yura Pakhuchiy
273 * kernel: fix build problem for "make -C ...". Reported by
276 2006-11-19 Miklos Szeredi <miklos@szeredi.hu>
278 * Fix bug in certain error paths of lookup routines. The request
279 object was reused for sending FORGET, which is illegal. This bug
280 could cause an Oops in linux-2.6.18 or in fuse-2.6.0, and might
281 silently corrupt memory in earlier versions. Report and test
284 2006-11-11 Miklos Szeredi <miklos@szeredi.hu>
286 * Print an error if an incompatible kernel interface version is
287 detected in INIT. This will only show if filesystem is started
290 * Fix order of fuse_destroy()/fuse_unmount() in error cleanup of
291 fuse_setup_common(). Reported by Szakacsits Szabolcs
293 2006-11-06 Miklos Szeredi <miklos@szeredi.hu>
295 * Fix recursive locking in fuse_create(). Thanks to Takuya
296 Ishibashi for the bug report
298 2006-10-28 Miklos Szeredi <miklos@szeredi.hu>
300 * Fix automake problem. Patch from Nix
302 2006-10-26 Miklos Szeredi <miklos@szeredi.hu>
304 * Fix mount.fuse to use /bin/sh instead of /bin/bash, which is not
305 always available on embedded systems. Patch from Paul Smith
307 * Fix util/Makefile.am, so that failure to run update-rc.d or
308 device creation doesn't cause make to fail. Reported by Paul
311 2006-10-21 Miklos Szeredi <miklos@szeredi.hu>
315 2006-10-18 Miklos Szeredi <miklos@szeredi.hu>
317 * fusermount: don't try to create a lock file if /etc/mtab is a
318 symlink. Report and patch from Alexei Sheplyakov (debian bug
321 2006-10-17 Miklos Szeredi <miklos@szeredi.hu>
323 * Minor changes, sync with mainline tree
325 2006-10-16 Miklos Szeredi <miklos@szeredi.hu>
329 2006-10-15 Miklos Szeredi <miklos@szeredi.hu>
333 2006-10-13 Miklos Szeredi <miklos@szeredi.hu>
335 * kernel: Fix compilation on patched 2.6.18 (fc6) and 2.6.19.
336 Report from David Shaw
338 * lib: Fix lost error on renaming a file. Report from David Shaw
340 * lib: Fix lost error on hiding open files (renaming to
343 * kernel: Fix a rare hang on SMP/32bit on heavy filesystem
344 activity. The cause of the bug was that some calls to
345 i_size_write() were not protected by a lock, and hence
346 i_size_seqcount could become corrupted. This caused subsequent
347 calls to i_size_read() to spin forever. This is a long standing
348 bug was probably introduced in version 2.2, and thought to be
349 related to NFS exporting (it's not). It was reported by various
350 people, but Dana Henriksen has finally helped me to track it down,
353 * kernel: Protect against truncation of a swapfile
355 2006-10-10 Miklos Szeredi <miklos@szeredi.hu>
357 * kernel: Check for signature of super_operations->umount_begin().
358 Ubuntu kernel 2.6.17 seems to use the new signature found in
359 2.6.18. Thanks to Florent Mertens for the report
361 2006-10-08 Miklos Szeredi <miklos@szeredi.hu>
363 * Make sure inode numers wrap around at 2^32. This is needed on
364 dual 64bit/32bit architectures, because 32bit applications using
365 the non-largefile interface would otherwise break (EOVERFLOW error
366 would be returned by the stat() system call family)
368 * ulockmgr: handle the case, when a locking operation fails
369 because no more file desctriptors are available in
370 ulockmgr_server. Also work around a Linux kernel bug (known to
371 exist for all Linux kernel versions <= 2.6.18) which may cause
372 sent file descriptors to be lost in the above case
374 * ulockmgr: optimize file descriptor use
376 * restore needed cpp flags to util/Makefile.am
378 * Install udev rules as 99-fuse.rules instead of 60-fuse.rules
380 * Minor clean up of udev rules
382 * Add a synchronous DESTROY message to kernel interface. This is
383 invoked from umount, when the final instance of the filesystem is
384 released. It is only sent for filesystems mounted with the
385 'blkdev' option for security reasons.
387 * If the DESTROY message is received, call the filesystem's
388 ->destroy() method. In this case it's not called from session
389 destruction as it would be otherwise.
391 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
395 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
397 * Add support for FLUSH+RELEASE operation for FreeBSD. Original
400 * Add init script to insert fuse module and mount the control
401 filesystem. The script is installed as /etc/init.d/fuse and on
402 debian based systems (where update-rc.d is available) symlinks
403 from /etc/rc*.d/ are also installed.
405 * Include '#define FUSE_USE_VERSION=XX' into examples so they
406 become more self contained.
408 2006-09-30 Miklos Szeredi <miklos@szeredi.hu>
412 * Move lock_owner from a separate argument into fuse_file_info
414 * Add a flag to fuse_file_info indicating (1) a highlevel lock
415 operation (unlock all) was initiated by a flush, (2) a lowlevel
416 release operation should perform a flush as well.
418 * fusermount: revert modprobe change (2006-08-18) since it
419 doesn't work reliably with udev
421 * Add support for block device backed filesystems. This mode is
422 selected with the 'blkdev' option, which is privileged.
424 * Add support for the bmap (FIBMAP ioctl) operation on block
425 device backed filesystems. This allows swapon and lilo to work on
430 * Drop support for kernels earlier than 2.6.9. Kernel module from
431 previous (2.5.x) release can be used with library from this
434 * In fuse_dentry_revalidate() use dget_parent() instead of
435 dereferencing d_parent, since there's no protection against parent
436 changing and going away
438 * Protect nlookup from concurrent updates
440 * In lookup if a directory alias exists but is unused,
441 then get rid of it, otherwise return -EBUSY.
443 * In mkdir if a directory alias exists, return success, but leave
444 dentry negative. In reality this could happen if a remote rename
445 immediately followed the mkdir.
447 * Don't BUG in fuse_iget() if multiple retries are needed to get a
448 good inode. This could happen if several lookups are racing for
451 2006-09-29 Miklos Szeredi <miklos@szeredi.hu>
453 * Fix compilation on 2.6.9. Report from Troy Ayers
455 2006-09-27 Miklos Szeredi <miklos@szeredi.hu>
457 * Fix Oops in fuse_readpages(). Reported by David Shaw
459 2006-09-24 Csaba Henk <csaba.henk@creo.hu>
461 * Add support for nanosec times on FreeBSD
463 * Fix FreeBSD compatibility issues
465 2006-09-23 Miklos Szeredi <miklos@szeredi.hu>
467 * Fix one more compatibility bug. Thanks to Ricardo Correia
469 * Fix utimens compilation with uClibc. Patch from Jamie Guinan
471 2006-09-22 Miklos Szeredi <miklos@szeredi.hu>
473 * Fixed several compatibility bugs in low level interface.
474 Reported by Ricardo Correia
476 * Add workaround for ARM caching bug
478 2006-09-16 Miklos Szeredi <miklos@szeredi.hu>
480 * Rename new utimes() method to more logical utimens()
482 2006-09-14 Miklos Szeredi <miklos@szeredi.hu>
484 * Fuse tried to unlink already unlinked hidden files. Bug
485 reported by Milan Svoboda
487 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
491 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
493 * kernel: Fix unlock on close for kernels < 2.6.18
495 * Add ulockmgr library & server. This can be used for handling
496 file locking requests either directly from libfuse or over a
497 network, etc. This first version is not optimized and the number
498 of file descriptors it uses may get out of hand
500 2006-09-07 Miklos Szeredi <miklos@szeredi.hu>
502 * lib: Add interrupt support to high level library, which may be
503 enabled with the 'intr' mount option.
505 * When an operation is interrupted the thread handling that
506 operation will receive SIGUSR1 (or other signal specified with the
507 'intr_signal=N' option). The library installs a no-op signal
508 handler for this signal, unless there's already a handler
511 * The filesystem may query interrupt status (regardless of 'intr')
512 with the fuse_interrupted() function.
514 * mount.fuse: initialize $HOME if not set. Report from Sven Goldt
516 2006-09-03 Miklos Szeredi <miklos@szeredi.hu>
518 * lib: Multithreaded loop now allows unlimited number of threads.
519 This is needed for locking operations which may block
520 indefinitely. Also the kernel now doesn't limit the number of
521 outstanding requests so the library shouldn't do so either.
523 2006-09-01 Miklos Szeredi <miklos@szeredi.hu>
525 * Fix recursive lock bug in interrupt handling
527 * Add utimes() method to highlevel interface, which supports
528 setting times with nanosecond resolution
530 2006-08-18 Miklos Szeredi <miklos@szeredi.hu>
532 * kernel: fix page leak if fuse_readpages() failed in it's
533 initialization. Bug found and original patch from Alexander
536 * For linux kernels >=2.6.18 (2.6.19 if using the fuse module from
537 the kernel tree) the statfs method will receive the path within
538 the filesystem on which the stat(v)fs syscall was called
540 * fusermount: try to modprobe fuse module if invoked by root and
541 unable to open device. This is needed with udev, since the device
542 node will be created only when the module is inserted, hence
543 module autoloading won't work. Reported by Szakacsits Szabolcs
545 2006-07-30 Miklos Szeredi <miklos@szeredi.hu>
547 * fusermount: if selinux is active, restore the original file's
548 security context in unmount_rename(). Redhat bugzilla id 188561.
549 Patch from Yves Perrenoud
551 * Add POSIX file locking operation to high level library
553 * Initialize context for unlink of hidden files on umount. Bug
554 reported by Tim Stoakes
556 2006-07-14 Miklos Szeredi <miklos@szeredi.hu>
558 * Multiple release() calls can race with each other, resulting in
559 the hidden file being deleted before the last release finishes.
560 Bug found and patch tested by Mark Huijgen
562 2006-07-05 Miklos Szeredi <miklos@szeredi.hu>
564 * fusermount: if /dev/fuse doesn't exist, suggest modprobing fuse;
565 this makes sense on systems using udev. Reported by Szakacsits
568 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
570 * Released 2.6.0-pre3
572 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
574 * Support in kernel module for file locking and interruption. The
575 same functionality is available in official kernels >= 2.6.18
577 2006-06-28 Miklos Szeredi <miklos@szeredi.hu>
579 * Add POSIX file locking support
581 * Add request interruption
583 2006-06-06 Miklos Szeredi <miklos@szeredi.hu>
585 * Add missing pthread_rwlock_destroy(). Patch from Remy Blank
587 2006-06-05 Remy Blank <remy.blank@pobox.com>
589 * lib: canonicalize mount point in fuse_helper_opt_proc() so that
590 unmounting succeeds even if mount point was relative.
592 2006-06-04 Csaba Henk <csaba.henk@creo.hu>
594 * lib: fix emergency umount in helper.c when malloc fails.
595 (The way it was done would end up in a segfault.)
597 2006-06-01 Csaba Henk <csaba.henk@creo.hu>
599 * lib: adjust threading related compiler flags.
600 Switch to "-pthread" from "-lpthread" as that's the preferred
601 one on several platforms. Consulted with Terrence Cole and
604 2006-05-08 Miklos Szeredi <miklos@szeredi.hu>
606 * lib: search fusermount in installation directory (bindir) as
609 2006-05-03 Miklos Szeredi <miklos@szeredi.hu>
611 * lib: fix compilation if CLOCK_MONOTONIC is not defined.
612 Reported by Christian Magnusson
614 2006-04-23 Csaba Henk <csaba.henk@creo.hu>
616 * lib: make FreeBSD mount routine recognize if kernel features
617 backgrounded init and if it does, run the mount util in foreground
620 2006-04-21 Miklos Szeredi <miklos@szeredi.hu>
622 * kernel: fix fput deadlock fix, the lockless solution could lead
623 to "VFS: busy inodes after umount..."
625 * kernel: fix race between checking and setting file->private_data
626 for the device. Found by Al Viro
628 2006-04-11 Miklos Szeredi <miklos@szeredi.hu>
630 * kernel: remove request pool, instead allocate requests on
631 demand. Account the number of background requests, and if they go
632 over a limit, block the allocation of new requests.
634 * kernel: fix deadlock if backgrounded request holds the last
635 reference to the super block
637 * kernel: don't use fuse_reset_request() during direct I/O
639 2006-04-06 Csaba Henk <csaba.henk@creo.hu>
641 * lib: Let FreeBSD mount option parsing routine recognize "no"
642 prefixes for FUSE specific options as well
644 2006-04-01 Miklos Szeredi <miklos@szeredi.hu>
646 * lib: Add missing rwlock initialization. Patch by Ryan Bradetich
648 2006-03-17 Miklos Szeredi <miklos@szeredi.hu>
652 * fuse_main(), fuse_setup() and fuse_new() have an additionl
655 * fuse_mount() returns a 'struct fuse_chan' pointer instead of a
658 * fuse_unmount() receives a 'struct fuse_chan' pointer. It
659 destroys the given channel
661 * fuse_teardown() no longer has a file descriptor parameter
663 * new exported functions: fuse_session_remove_chan(),
664 fuse_get_session(), fuse_daemonize()
666 * fuse_chan_recv() may now return a new channel which will be used
669 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
671 * Released 2.6.0-pre2
673 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
675 * Don't unmount if already unmounted. This fixes a problem seen
676 in the following situation: Lazy unmount a busy filesystem; Mount
677 a new one in top; When the first finally unmounts, the second also
678 unmounts. Reported by Franco Broi
680 2006-03-15 Miklos Szeredi <miklos@szeredi.hu>
682 * lowlevel lib: use indirect function calls instead of a
683 switch/case construct. Besides increased efficiency it helps
684 maintainability & readability too. Patch from Florin Malita
686 2006-03-13 Miklos Szeredi <miklos@szeredi.hu>
688 * kernel: replace global spinlock with a per-connection spinlock
690 2006-03-10 Miklos Szeredi <miklos@szeredi.hu>
692 * Fix source compatibility breakage for fuse_unmount(). Report
695 2006-03-02 Miklos Szeredi <miklos@szeredi.hu>
697 * Fix O_ASYNC handling in fuse_dev_release(). From Jeff Dike
699 2006-03-01 Miklos Szeredi <miklos@szeredi.hu>
701 * Add O_ASYNC and O_NONBLOCK support to FUSE device. Patch by
704 * Renamed fuse_chan_receive() to fuse_chan_recv() and changed
705 interface to return -errno in case of error.
707 2006-03-01 Csaba Henk <csaba.henk@creo.hu>
709 * libfuse: pass device file descriptor to fuse_unmount(), rewrite
710 FreeBSD implementation so that it uses libc (sysctl backed) instead
711 of an embdedded script (kmem backed). Adjust the control flow of
712 hello_ll so that device doesn't get closed before unmount attempt.
714 2006-02-25 Miklos Szeredi <miklos@szeredi.hu>
716 * Lowlevel lib: return all-zero statvfs data if filesystem doesn't
717 implement method. This is needed on FreeBSD, and nicer on Linux
718 too. Highlevel lib already did this. Reported by Csaba Henk
720 * Fix negative entry handling. There was a bug, that negative
721 lookups with timeouts (nodeid == 0) returned -EIO.
723 2006-02-23 Miklos Szeredi <miklos@szeredi.hu>
725 * Fix race between RELEASE and UNLINK, which might leave
726 .fuse_hidden* files around
728 2006-02-21 Miklos Szeredi <miklos@szeredi.hu>
730 * fusexmp_fh: implement flush() method and call close() on the
731 open file descriptor. This is needed if used on an NFS
732 filesystem, which buffers data until file is closed. Franco Broi
733 spotted the situation when 'cp -p' failed to set the modification
734 time because of this.
736 2006-02-20 Miklos Szeredi <miklos@szeredi.hu>
738 * Released 2.6.0-pre1
740 2006-02-19 Miklos Szeredi <miklos@szeredi.hu>
742 * libfuse: fix use-after-free bug in interruptred reply_entry().
745 * libfuse: fix wrong symbol versioning for fuse_mount. Debian bug
746 ID: 352631. Found by Stéphane Rosi
748 2006-02-17 Miklos Szeredi <miklos@szeredi.hu>
750 * Lowlevel lib: Unify fuse_dirent_size() and fuse_add_dirent()
751 into a single function fuse_add_direntry(). This cleans up the
752 interface and makes it possible to do stacking.
754 2006-02-16 Miklos Szeredi <miklos@szeredi.hu>
756 * Fix rare race betweeen abort and release caused by failed iget()
757 in fuse_create_open().
759 * Add 'ac_attr_timeout' option e.g. for filesystems which do their
760 own attribute caching.
762 2006-02-15 Miklos Szeredi <miklos@szeredi.hu>
764 * Work around FreeBSD runtime linker "feature" which binds an old
765 version of a symbol to internal references if the symbol has more
766 than one version. This resulted in infinite recursion in
767 fuse_lowlevel_new_compat25().
769 2006-02-10 Csaba Henk <csaba.henk@creo.hu>
771 * Refine clock_gettime() querying so that linker options
772 shall be set as it's appropriate for the target platform.
774 2006-02-09 Miklos Szeredi <miklos@szeredi.hu>
776 * Fix udev rule syntax. Reported by Nix
778 2006-02-08 Miklos Szeredi <miklos@szeredi.hu>
780 * In some cases udev rule seems to be ineffective when installed
781 as 40-fuse.rules but work as 60-fuse.rules. Reported by John Hunt
783 2006-02-03 Miklos Szeredi <miklos@szeredi.hu>
785 * Fix compilation when build directory is different from source
786 directory. Reported by Frédéric L. W. Meunier
788 2006-02-02 Miklos Szeredi <miklos@szeredi.hu>
790 * Fix even bigger bug introduced in fix for request_end() on
791 2006-01-14. Reported by Gal Rosen
793 2006-01-30 Miklos Szeredi <miklos@szeredi.hu>
795 * highlevel-lib: add 'auto_cache' option. This caches file data
796 based on modification time and size
798 2006-01-20 Miklos Szeredi <miklos@szeredi.hu>
800 * Sanitize storage type and help message in mount_bsd.c. Patch
803 * fuse_opt: add new helper constants FUSE_OPT_KEY_KEEP and
806 * Add options 'max_readahead', 'sync_read' and 'async_read'
808 * Kernel ABI version 7.6:
810 * Negotiate the 'max_readahead' value and 'async_read' flags with
811 userspace in the INIT method
813 * Add connection info to ->init() methods to both lowlevel and
816 * Fall back to synchronous read() behavior if either library or
817 userspace filesystem is using the old interface version. This is
818 needed so non-updated filesystems won't be confused by the
819 different read() behavior
821 2006-01-19 Miklos Szeredi <miklos@szeredi.hu>
823 * lib: if "fsname=" option was given, pass it to fusermount
825 * fuse_opt: add new fuse_opt_insert_arg() function, which is
826 needed by filesystems to implement some argument manipulations
829 * fuse_opt: fix memory leak in handling "--" option
831 2006-01-18 Miklos Szeredi <miklos@szeredi.hu>
833 * kernel: fix detection of case when fuse is not configured into
834 the kernel either as module or built-in
836 * fuse_opt.h: fix incompatibility with C++ compilers by renaming
837 'template' structure member to 'templ'. Reported by Takashi Iwai
839 * fuse.h: fix compatibility bugs. Patch by Yura Pakhuchiy
841 * kernel: support version 2.6.16 (i_sem -> i_mutex)
843 2006-01-16 Miklos Szeredi <miklos@szeredi.hu>
845 * Added (again) asynchronous readpages support
847 * Each connection now shows up under /sys/fs/fuse/connections
849 * Connection attributes exported to sysfs: 'waiting' number of
850 waiting requests; 'abort' abort the connection
852 * Connection may be aborted through either the sysfs interface or
853 with 'umount -f mountpoint'
855 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
859 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
861 * kernel: fix a couple of bugs
863 * Order of request_end() and fuse_copy_finish() was wrong.
864 Posthumous note: Franco Broi managed to exploit this, though it
865 seemed quite impossible
867 * request_end() used request pointer after decrementing refcount
869 * Clearing ->connected or ->mounted connection flags could race
870 with setting other bitfields not protected with a lock
872 2006-01-10 Miklos Szeredi <miklos@szeredi.hu>
874 * kernel: add necessary compile flags for 2.4.X/x86_64.
875 Report from Sean Ziegeler
877 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
879 * Released 2.5.0-pre2
881 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
883 * Applied patch from Csaba Henk, to update mount_bsd to new
884 fuse_mount() semantics
886 * Ignore auto,noauto,... options in mount.fuse. Reported by Frank
887 Steiner and Don Taber
889 * fusermount: add 'dirsync' mount option
891 2006-01-07 Miklos Szeredi <miklos@szeredi.hu>
893 * Improved help reporting and added version reporting to library
895 2006-01-06 Miklos Szeredi <miklos@szeredi.hu>
897 * Change working directory to "/" even if running in the
898 foreground. Patch from Jonathan Brandmeyer
900 * Changed lots of functions to use 'struct fuse_args' instead of
901 separate argc and argv
903 * Added fuse_parse_cmdline(), fuse_set_signal_handlers() and
904 fuse_remove_signal_handlers() functions, so that it's now pretty
905 easy to get all the functionality of fuse_main() with a filesystem
906 using the lowlevel API.
908 2006-01-02 Miklos Szeredi <miklos@szeredi.hu>
910 * mount.fuse: the 'user' option should be ignored. Report and
913 * mount.fuse: export PATH in the right place. Report and patch
914 from Hannes Schweizer
916 2005-12-16 Miklos Szeredi <miklos@szeredi.hu>
918 * Clean up the option parsing interface slightly, by creating an
919 "argument list" structure, that contains the argument vector and
922 2005-12-15 Miklos Szeredi <miklos@szeredi.hu>
924 * fusermount: check if /mnt/mtab is a symlink and don't modify it
927 * kernel: simplify request size limiting. INIT only contains
928 maximum write size, maximum path component size remains fixed at
929 1024 bytes, and maximum xattr size depends on read buffer.
931 2005-12-14 Miklos Szeredi <miklos@szeredi.hu>
933 * Fix readdir() failure on x86_64, of 32bit programs compiled
934 without largefile support. Bug report and help from Anthony
937 * If lookup returns invalid mode, return -EIO instead of creating
940 * Add current output argument vector to option processing
943 2005-12-12 Miklos Szeredi <miklos@szeredi.hu>
945 * Fix stale code in ifdef FreeBSD. Patch from Csaba Henk
947 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
949 * Released 2.5.0-pre1
951 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
953 * libfuse: added option parsing interface, defined in
956 2005-12-07 Miklos Szeredi <miklos@szeredi.hu>
958 * Return EIO for file operations (read, write, fsync, flush) on
959 open files whose inode has become "bad". Inodes will be marked
960 "bad" if their type changes. Bug report by Csaba Henk
962 2005-12-06 Miklos Szeredi <miklos@szeredi.hu>
964 * Use bigger request buffer size. write() did not work on archs
965 with > 4k page size, Bug report by Mark Haney
969 * Extend INIT reply with data size limits
971 2005-12-02 Miklos Szeredi <miklos@szeredi.hu>
973 * Fix memory leak in fuse_read_cmd()/fuse_process_cmd(). Bug
974 reported by Vincenzo Ciancia
976 * Handle exit-by-umount in fuse_read_cmd()
978 2005-11-29 Miklos Szeredi <miklos@szeredi.hu>
980 * Check if '-msoft-float' option is supported by compiler when
981 configuring for a 2.4.x kernel. Bug report by Mark Haney
983 * In multithreaded loop send a TERM signal to the main thread if
984 one of the other threads exit. Needed on FreeBSD for a clean exit
985 on umount. Should not cause any harm on Linux either
987 2005-11-28 Miklos Szeredi <miklos@szeredi.hu>
989 * Fix bug in 32-bit file handle compatibility
991 2005-11-27 Miklos Szeredi <miklos@szeredi.hu>
993 * Block TERM, INT, HUP and QUIT signals in all but the main
994 thread. According to POSIX it's not specified which thread will
995 receive these signals.
999 * Check for directory aliasing on mkdir, not just on lookup
1001 * Check for special node ID values in create+open operation
1003 * Sync with -mm: readv, writev, aio_read and aio_write methods
1004 added to file operations
1006 * Cleanups: lookup code, page offset calculation
1008 * ABI stepped to 7.4, changes:
1010 * frsize member added to fuse_kstatfs structure
1012 * added support for negative entry caching: on lowlevel API if
1013 fuse_entry_param::ino is set to zero in reply to a lookup request,
1014 the kernel will cache the dentry for the specified amount of time.
1016 * libfuse: added 'negative_timeout' option: specifies how much
1017 negative entries should be cached. Default is zero, to be
1018 compatible with prior versions
1020 2005-11-22 Miklos Szeredi <miklos@szeredi.hu>
1022 * Add detection of mainline FUSE code in running kernel
1024 2005-11-21 Miklos Szeredi <miklos@szeredi.hu>
1026 * Don't use async cancelation in multithreaded loop. This makes
1027 it more portable to systems where read() is not async cancel safe.
1028 Report from Andriy Gapon
1030 2005-11-20 Miklos Szeredi <miklos@szeredi.hu>
1032 * Warn if API version 11 compatibility is requested
1034 2005-11-17 Miklos Szeredi <miklos@szeredi.hu>
1036 * More FreeBSD merge
1038 * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in
1039 them, because it corrupts /etc/mtab. Found by Thomas Biege
1042 * libfuse: don't use system() to invoke 'fusermount -u ...'
1043 because it breaks mountpoints with spaces in them into multiple
1046 2005-11-16 Miklos Szeredi <miklos@szeredi.hu>
1048 * Merge library part of FreeBSD port. Patch by Csaba Henk
1050 2005-11-11 Miklos Szeredi <miklos@szeredi.hu>
1052 * Use 64bit type for file handle, so the full range supported by
1053 the kernel interface is available to applications
1055 2005-11-10 Miklos Szeredi <miklos@szeredi.hu>
1057 * Moved mountpoint argument checking from fuse_parse_cmdline() to
1058 fuse_mount() in preparation to FreeBSD merge.
1060 2005-11-08 Miklos Szeredi <miklos@szeredi.hu>
1062 * Remove unneeded close() from fuse_teardown(). Spotted by Csaba
1065 2005-11-07 Miklos Szeredi <miklos@szeredi.hu>
1067 * Make the statfs change backwards compatible.
1069 2005-11-06 Miklos Szeredi <miklos@szeredi.hu>
1071 * Change ->statfs() method to use 'struct statvfs' instead of
1072 'struct statfs'. This makes the API more portable since statvfs()
1073 is defined by POSIX.
1075 2005-10-28 Miklos Szeredi <miklos@szeredi.hu>
1077 * Add fgetattr() method, which currently will only be called after
1078 a successful call to a create() method.
1080 2005-10-26 Miklos Szeredi <miklos@szeredi.hu>
1082 * Change kernel ABI version to 7.3
1084 * Add ACCESS operation. This is called from the access() system
1085 call if 'default_permissions' mount option is not given, and is
1086 not called on kernels 2.4.*
1088 * Add atomic CREATE+OPEN operation. This will only work with
1089 2.6.15 (presumably) or later Linux kernels.
1091 * Add ftruncate() method. This will only work with 2.6.15
1092 (presumably) or later Linux kernels.
1094 * Fix kernel module compile if kernel source and build directories
1095 differ. Report and initial patch by John Eastman
1097 2005-10-18 Miklos Szeredi <miklos@szeredi.hu>
1099 * lib: optimize buffer reallocation in fill_dir.
1101 2005-10-17 Miklos Szeredi <miklos@szeredi.hu>
1105 2005-10-14 Miklos Szeredi <miklos@szeredi.hu>
1107 * libfuse: add debug for write result (by Shaun Jackman) and
1108 warnings for too large read/write result
1110 2005-10-11 Miklos Szeredi <miklos@szeredi.hu>
1112 * Spelling fixes, thanks to Ioannis Barkas
1114 2005-10-10 Miklos Szeredi <miklos@szeredi.hu>
1116 * fuse_common.h: use extern "C". Thanks to Valient Gough for the
1119 2005-10-07 Miklos Szeredi <miklos@szeredi.hu>
1121 * highlevel-lib: init() and destroy() methods didn't have an
1122 initialized fuse_context. Bug reported by Tim Stoakes
1124 2005-10-04 Miklos Szeredi <miklos@szeredi.hu>
1128 2005-10-03 Miklos Szeredi <miklos@szeredi.hu>
1130 * Add documentation to fuse_lowlevel.h
1134 * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME
1136 * Move fuse_mount() and fuse_unmount() to fuse_common.h
1138 * Change the return type of fuse_reply_none() from int to void.
1140 2005-09-30 Miklos Szeredi <miklos@szeredi.hu>
1142 * kernel: NFS exporting leaked dentries. Bug found and fixed by
1145 2005-09-29 Miklos Szeredi <miklos@szeredi.hu>
1147 * fusermount: fix error message, when unable to open /dev/fuse.
1148 Report by Balázs Pozsár
1150 2005-09-28 Miklos Szeredi <miklos@szeredi.hu>
1152 * UClibc fixes from Christian Magnusson
1154 2005-09-27 Miklos Szeredi <miklos@szeredi.hu>
1156 * Added NAME="%k" to util/udev.rules. Fix by Mattias Wadman.
1158 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
1160 * Released 2.4.0-rc1
1162 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
1164 * fusermount: allow user umount in the case when /etc/mtab is a
1165 symlink to /proc/mounts. Reported by Balázs Pozsár.
1167 2005-09-23 Miklos Szeredi <miklos@szeredi.hu>
1169 * Check for special node ID values in lookup and creation
1171 2005-09-22 Miklos Szeredi <miklos@szeredi.hu>
1173 * Slight optimization in returning EINVAL error in case of an open
1176 2005-09-20 Miklos Szeredi <miklos@szeredi.hu>
1178 * Remove '--enable-auto-modprobe' configure flag. Module
1179 auto-loading is now handled by the kernel.
1181 2005-09-15 Miklos Szeredi <miklos@szeredi.hu>
1183 * Install UDEV rule file, so /dev/fuse is created with mode 0666.
1184 Help from Jens M. Noedler.
1186 2005-09-14 Miklos Szeredi <miklos@szeredi.hu>
1188 * Add memory cleanup on thread exit
1190 2005-09-13 Miklos Szeredi <miklos@szeredi.hu>
1192 * Set umask to zero in fusexmp and fusexmp_fh, so that
1193 files/directories are created with the requested mode.
1195 2005-09-12 Miklos Szeredi <miklos@szeredi.hu>
1197 * Don't ignore read error in multithreaded loop
1199 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
1201 * Released 2.4.0-pre2
1203 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
1205 * Revert lock and access operations. Postpone these until 2.5.
1207 2005-09-02 Miklos Szeredi <miklos@szeredi.hu>
1209 * Fix compile warning on 2.6.13 and later
1211 * Fix compilation on old kernels
1213 2005-08-19 Miklos Szeredi <miklos@szeredi.hu>
1215 * lib: always refresh directory contents after rewinddir() to
1216 conform to SUS. Bug found by John Muir.
1218 2005-08-15 Miklos Szeredi <miklos@szeredi.hu>
1220 * Released 2.4.0-pre1
1222 2005-08-14 Miklos Szeredi <miklos@szeredi.hu>
1224 * lib: cleaned up (or messed up, depending on your POV) the low
1225 level library API. Hopefully this is close to the final form.
1227 2005-08-05 Miklos Szeredi <miklos@szeredi.hu>
1229 * fusermount: don't allow empty mountpoint argument, which defeats
1230 automatic umounting in fuse_main(). Bugreport by Václav Jůza
1232 2005-08-03 Miklos Szeredi <miklos@szeredi.hu>
1234 * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler
1235 option is used (Paul Alfille).
1237 2005-08-02 Miklos Szeredi <miklos@szeredi.hu>
1239 * highlevel-lib: added mount options "attr_timeout" and
1240 "entry_timeout". These options control the length of time file
1241 attributes and entries (names) are cached. Both default to 1.0
1244 * kernel: correctly handle zero timeout for attributes and entries
1246 2005-08-01 Miklos Szeredi <miklos@szeredi.hu>
1248 * Added missing symbols to versionscript (Joshua J. Berry)
1250 * kernel: implement two flags, open can set: 'direct_io' and
1251 'keep_cache'. These correspond exactly to mount options
1252 'direct_io' and 'kernel_cache', but allow a per-open setting.
1254 * Move 'direct_io' and 'kernel_cache' mount option handling to
1255 userspace. For both mount options, if the option is given, then
1256 the respective open flag is set, otherwise the open flag is left
1257 unmodified (so the filesystem can set it).
1259 * lib (highlevel): make open method optional
1261 2005-07-28 Miklos Szeredi <miklos@szeredi.hu>
1263 * kernel: invalidate attributes for read/readdir/readlink
1266 * kernel: detect newer UML kernels
1268 2005-07-26 Miklos Szeredi <miklos@szeredi.hu>
1270 * Make the installation path of fuse.ko and mount.fuse
1271 configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH
1272 environment variables. Requirement and help from Csaba Henk.
1274 2005-07-22 Miklos Szeredi <miklos@szeredi.hu>
1276 * Fix bug, that causes filesystem requests to hang when unique
1277 request counter becomes negative. This happens after
1278 2,147,483,648 operations, so most people won't care. Thanks to
1279 Franco Broi for the report and testing.
1281 2005-07-21 Miklos Szeredi <miklos@szeredi.hu>
1283 * Don't change mtime/ctime/atime to local time on read/write.
1284 Bug reported by Ben Grimm
1286 * Install fuse_common.h and fuse_lowlevel.h. Report by Christian
1289 * fusermount: use getopt_long() for option parsing. It allows the
1290 use of '--' to stop argument scanning, so fusermount can now
1291 operate on directories whose names begin with a '-'. Patch by
1294 2005-07-15 Miklos Szeredi <miklos@szeredi.hu>
1296 * fusermount: add '-v', '--version' and '--help' options
1298 * add inode based API
1300 2005-07-12 Miklos Szeredi <miklos@szeredi.hu>
1302 * lib: don't block signals in worker threads. Problem noticed by
1305 2005-07-07 Miklos Szeredi <miklos@szeredi.hu>
1307 * lib: don't allow both 'allow_other' and 'allow_root' options to
1310 2005-07-06 Miklos Szeredi <miklos@szeredi.hu>
1312 * fusermount: check if mountpoint is empty (only '.' and '..' for
1313 directories, and size = 0 for regular files). If "nonempty"
1314 option is given, omit this check. This is useful, so users don't
1315 accidentally hide data (e.g. from backup programs). Thanks to
1316 Frank van Maarseveen for pointing this out.
1318 * kernel: check if mandatory mount options ('fd', 'rootmode',
1319 'user_id', 'group_id') are all given
1321 * lib: simplify 'readdir_ino' handling
1323 * lib: add mount options 'umask=M', 'uid=N', 'gid=N'
1325 2005-07-03 Miklos Szeredi <miklos@szeredi.hu>
1327 * kernel: clean up 'direct_io' code
1329 2005-06-28 Miklos Szeredi <miklos@szeredi.hu>
1331 * Add 'mount.fuse' written by Petr Klima
1333 * '/dev/fuse' is created by 'make install' if does not yet exist
1335 2005-06-20 Miklos Szeredi <miklos@szeredi.hu>
1337 * Fix UCLIBC compile error. Patch by Christian Magnusson
1339 2005-06-08 Miklos Szeredi <miklos@szeredi.hu>
1341 * Enable the auto-loading of the module via access to the
1342 corresponding device file. Patch by Takashi Iwai.
1344 * Allow mounting a regular file (over a regular file) for
1347 * Do not create temporary device file. Require "/dev/fuse" to
1348 exist, and be readable/writable by the mounting user.
1350 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
1354 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
1356 * Fix serious information leak: if the filesystem returns a short
1357 byte count to a read request, and there are non-zero number of
1358 pages which are not filled at all, these pages will not be zeroed.
1359 Hence the user can read out previous memory contents. Found by
1362 2005-05-27 Miklos Szeredi <miklos@szeredi.hu>
1364 * Add "readdir_ino" mount option, which tries to fill in the d_ino
1365 field in struct dirent. This mount option is ignored if "use_ino"
1366 is used. It helps some programs (e.g. 'pwd' used over NFS from a
1367 non-Linux OS). Patch by David Shaw.
1369 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
1373 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
1375 * File save in krusader and other editors doesn't work with sshfs,
1376 because open() is interrupted by a periodic signal, and open()
1377 restarts forever, without any progress. This could just be fixed
1378 in open(), but the problem is more generic: if signals are
1379 received more often than the filesystem can get the request to
1380 userspace, it will never finish. This is probably only a
1381 theoretical problem, nevertheless I'm removing the possibility to
1382 interrupt requests with anything other than SIGKILL, even before
1383 being sent to userspace. Bugreport by Eduard Czimbalmos.
1385 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
1387 * libfuse: add "tree_lock" rwlock, that is locked for write in
1388 rename, unlink and rmdir, and locked for read in all other
1389 operations. This should fix the rename/release race reported by
1390 Valient Gough and others. The solution is very coarse, a finer
1391 grained locking scheme could be implemented, but it would be much
1392 more complex. Let's see whether this is good enough.
1394 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
1398 2005-05-08 Miklos Szeredi <miklos@szeredi.hu>
1400 * Better fix for out of order FORGET messages. Now the
1401 LOOKUP/FORGET messages are balanced exactly (one FORGET can
1402 balance many lookups), so the order no longer matters. This
1403 changes the kernel ABI slightly, but the library remains backward
1406 2005-05-06 Miklos Szeredi <miklos@szeredi.hu>
1408 * Fix abort for out of order FORGET messages. Again. Spotted by
1409 Franco Broi again. Sorry :)
1411 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
1415 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
1417 * Make fusermount work with fuse kernel modules not yet supporting
1418 the "group_id" option (added for the purpose of stricter
1419 permission checking).
1421 2005-04-28 Miklos Szeredi <miklos@szeredi.hu>
1423 * Check for hard-linked directories in lookup. This could cause
1424 problems in the VFS, which assumes that such objects never exist.
1426 * Make checking of permission for other users more strict. Now
1427 the same privilege is required for the mount owner as for ptrace
1428 on the process performing the filesystem operation.
1430 2005-04-23 Miklos Szeredi <miklos@szeredi.hu>
1434 2005-04-22 Miklos Szeredi <miklos@szeredi.hu>
1436 * Add -msoft-float to kernel module compile flags for 2.4.X. This
1437 is needed on certain architectures. Report from Chris Kirby
1439 * Fix buggy behavior of open(..., O_CREAT|O_EXCL) if interrupted.
1440 Reported by David Shaw
1442 * Remove "allow_root" option from kernel module, and implement
1443 it's functionality in the library
1445 * Fix Oops caused by premature release of fuse_conn. Clean up
1446 related code, to be more readable
1448 * Sendfile should not use page cache if "direct_io" mount option
1451 2005-04-08 Miklos Szeredi <miklos@szeredi.hu>
1453 * Fix Oops in case of nfs export. Spotted by David Shaw
1455 * Fix another Oops in case of write over nfs with direct_io turned
1456 on. Again spotted by David Shaw
1458 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
1462 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
1464 * lib: finalized new readdir() interface, which now supersedes the
1467 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
1471 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
1473 * Implement backward compatibility with version 5 kernel ABI
1475 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
1479 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
1481 * kernel: fix dirent offset handling
1483 * lib: add readdir and releasedir methods
1485 * lib: use fh field of fuse_file_info in opendir, readdir,
1486 releasedir and fsyncdir methods
1488 * lib: check kernel API version and bail out of it's old. This
1489 will be properly fixed in the next release
1491 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
1495 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
1497 * kernel API: add padding to structures, so 64bit and 32bit
1498 compiler will return the same size
1500 * kernel API: add offset field to fuse_dirent. This will allow
1501 more sophisticated readdir interface for userspace
1503 * kernel API: change major number to 6
1505 * kernel: fix warnings on 64bit archs
1507 * kernel: in case of API version mismatch, return ECONNREFUSED
1509 2005-03-24 Miklos Szeredi <miklos@szeredi.hu>
1511 * kernel: trivial cleanups
1513 2005-03-21 Miklos Szeredi <miklos@szeredi.hu>
1515 * Add fsyncdir() operation
1517 2005-03-19 Miklos Szeredi <miklos@szeredi.hu>
1519 * kernel: add locking to background list (fixes previous fix)
1521 2005-03-18 Miklos Szeredi <miklos@szeredi.hu>
1523 * kernel: fix bug which could cause leave busy inodes after
1526 2005-03-08 Miklos Szeredi <miklos@szeredi.hu>
1528 * examples: add -lpthread to link flags to work around valgrind
1531 * lib: don't exit threads, so cancelation doesn't cause segfault
1533 2005-03-04 Miklos Szeredi <miklos@szeredi.hu>
1535 * kernel: fix nasty bug which could cause an Oops under certain
1536 situations. Found by Magnus Johansson
1538 2005-02-28 Miklos Szeredi <miklos@szeredi.hu>
1540 * libfuse: added opendir() method. This can be used in case
1541 permission checking in getdir() is too late. Thanks to Usarin
1542 Heininga for pointing out this deficiency
1544 * libfuse: added init() and destroy() methods to fuse_operations
1546 * kernel: llseek() method for files and directories made explicit
1548 * kernel: fixed inode leak in NFS export in case of nodeid
1551 2005-02-15 Miklos Szeredi <miklos@szeredi.hu>
1553 * libfuse: clean up some unitialized memory found with valgrind
1555 * Add -lpthread to Libs in fuse.pc. Valgrind seems to need an
1556 explicitly linked libpthread for applications
1558 2005-02-10 Miklos Szeredi <miklos@szeredi.hu>
1560 * fusermount: set umask, otherwise /etc/mtab will have
1561 unpredictable permission. Spotted by Jindrich Kolorenc
1563 * fusermount: set owner and group of /etc/mtab to original values
1566 * libfuse: add 'use_ino' option to help. Patch by Valient Gough
1568 2005-02-07 Miklos Szeredi <miklos@szeredi.hu>
1570 * Cleaned up directory reading (temporary file is not used)
1572 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
1576 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
1578 * Fix possible race when operation is interrupted
1580 2005-01-28 Miklos Szeredi <miklos@szeredi.hu>
1582 * Fix compilation on 2.6.7
1584 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
1588 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
1590 * Fix bug in link() operation which caused the wrong path to be
1591 passed as the first argument. Found by Anton Altaparmakov
1593 2005-01-21 Miklos Szeredi <miklos@szeredi.hu>
1595 * LIB: fix double reply in readdir operation
1597 * fusermount: fix uid checking bug. Patch by Adam Connell
1599 * KERNEL: fix compile on various RedHat patched 2.4 kernels.
1600 Patch by Keshava Gowda
1602 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
1604 * KERNEL: provide correct llseek semantics for fuse device (fixes
1605 a bug on Progeny 2.4.20 kernel). Reported by Valient Gough
1607 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
1609 * Released 2.2-pre5 (matches kernel 2.6.11-rc1-mm2)
1611 2005-01-18 Miklos Szeredi <miklos@szeredi.hu>
1613 * KERNEL ABI: remove GETDIR operation, and add OPENDIR, READDIR
1614 and RELEASEDIR. This ends the ugly hack of passing a file
1615 descriptor to the kernel, and actually makes the code simpler.
1617 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
1621 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
1623 * fusermount: remove capability setting, which was the cause of
1624 problems for some users. It seems that FS related capabilities
1625 are removed by setfsuid(), so this isn't even needed.
1627 2005-01-15 Miklos Szeredi <miklos@szeredi.hu>
1629 * fix compilation on 2.4 kernels (reported by Valient Gough)
1631 * fix failure to unmount bug (found by David Shaw)
1633 * fusermount: improve parsing of /etc/fuse.conf
1635 2005-01-13 Miklos Szeredi <miklos@szeredi.hu>
1637 * Remove 'mount_max' and 'user_allow_other' module options. These
1638 are now checked by fusermount, and can be set in /etc/fuse.conf
1640 * KERNEL: change check for fsid == 0 to capable(CAP_DAC_OVERRIDE)
1642 2005-01-11 Miklos Szeredi <miklos@szeredi.hu>
1644 * KERNEL: fix possible inode allocation problem, where
1645 sizeof(struct inode) is not aligned (found by Mike Waychison)
1647 * KERNEL: use new follow_link/put_link methods
1649 * KERNEL: cosmetic fixes
1651 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
1655 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
1657 * Add missing code that was accidently left out
1659 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
1663 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
1665 * Change "uid" mount option to "user_id" to avoid confusion with a
1666 mount option "uid" commonly used by many filesystems
1668 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
1672 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
1674 * If FUSE is configured in the kernel, don't build it by default
1676 2005-01-07 Miklos Szeredi <miklos@szeredi.hu>
1678 * Compile fix by Christian Magnusson
1680 2005-01-05 Miklos Szeredi <miklos@szeredi.hu>
1682 * Fix compilation for 2.6.{0-5} kernels
1684 2005-01-04 Miklos Szeredi <miklos@szeredi.hu>
1686 * KERNEL: if request is interrupted, still keep reference to used
1687 inode(s) and file, so that FORGET and RELEASE are not sent until
1688 userspace finishes the request.
1690 * remove /{sys,proc}/fs/fuse/version, and instead add an INIT
1691 request with the same information, which is more flexible,
1692 simpler, works on embedded systems.
1694 2004-12-16 Miklos Szeredi <miklos@szeredi.hu>
1696 * KERNEL ABI: update interface to make it independent of type
1697 sizes. This will help on 64 bit architectures which can run
1698 legacy 32 bit applications.
1700 * KERNEL ABI: add "len" field to request headers. This will allow
1701 sending/receiving requests in multiple chunks.
1703 * KERNEL: handle file type change more intelligently
1705 * LIB: "-o debug" option should disable backgrounding (fix by
1706 Fabien Reygrobellet)
1708 2004-12-13 Miklos Szeredi <miklos@szeredi.hu>
1710 * KERNEL: invalidate dentry/attributes if interrupted request
1711 could leave filesystem in an unknown state.
1713 2004-12-12 Miklos Szeredi <miklos@szeredi.hu>
1715 * KERNEL: lots of cleanups related to avoiding possible deadlocks.
1716 These will cause some regressions, but stability is considered
1717 more important. If any of these features turns out to be
1718 important, it can be readded with the deadlock problems addressed.
1720 * Make all requests interruptible (only with SIGKILL currently).
1721 This can be used to break any deadlock produced by the userspace
1722 filesystem accessing it's own exported files. The RELEASE request
1723 is special, because if it's interrupted before sending it to
1724 userspace it is still sent, but the reply is not awaited.
1726 * If request is interrupted before being sent to userspace, and if
1727 it hasn't yet got any side effects, it is always restarted,
1728 regardless of the SA_RESTART flag. This makes these interruptions
1729 transparent to the process.
1731 * Remove shared-writable mmap support, which was prone to an
1732 out-of-memory deadlock situation
1734 * Remove INVALIDATE userspace initiated request
1736 * Make readpages() synchronous. Asynchronous requests are
1737 deadlock prone, since they cannot be interrupted.
1739 * Add readv/writev support to fuse device operations
1741 * Remove some printks, which userspace FS can use for a DoS
1744 * Remove 'large_read' mount option from 2.6 in kernel, check it in
1747 * LIB: improve compatibility with a fuse.h header installed in
1748 ${prefix}/include which in turn includes the real header.
1750 * LIB: improve compatibility by defining fuse_main() (which is now
1751 not used), so old configure scripts find it.
1753 2004-12-10 Miklos Szeredi <miklos@szeredi.hu>
1755 * When mounting on a subdirectory of / don't duplicate slashes at
1756 the beggining of path (spotted by David Shaw)
1758 2004-12-09 Miklos Szeredi <miklos@szeredi.hu>
1760 * Fix bug causing garbage in mount options (spotted by David Shaw)
1762 2004-12-07 Miklos Szeredi <miklos@szeredi.hu>
1764 * Add 'writepage' flag to 'fuse_file_info'.
1766 * More comments in fuse.h
1768 * Get rid of double underscores
1770 2004-12-04 Miklos Szeredi <miklos@szeredi.hu>
1772 * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config
1774 * helper.c: add -ho option, which only displays the options not
1775 the usage header. This can be used by filesystems which have
1778 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
1780 * Add source compatibility to 2.1 and 1.1 APIs. To select betwen
1781 versions simply define FUSE_USE_VERSION to 22, 21 or 11 before
1782 including the fuse header
1784 * Add binary compatibility to 2.1 version of library with symbol
1787 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
1791 2004-12-01 Miklos Szeredi <miklos@szeredi.hu>
1793 * kernel: clean up writing functions
1795 * kernel: no allocation on write in direct_io mode
1797 * move linux/fuse.h to fuse_kernel.h
1799 2004-11-30 Miklos Szeredi <miklos@szeredi.hu>
1801 * kernel: clean up reading functions
1803 2004-11-29 Miklos Szeredi <miklos@szeredi.hu>
1805 * kernel: make readpage() uninterruptible
1807 * kernel: check readonly filesystem flag in fuse_permission
1809 * lib: don't die if version file not found and new style device
1812 * lib: add '-r' option, which is short for '-o ro'
1814 * fusermount: simplify device opening
1816 * kernel: when direct_io is turend on, copy data directly to
1817 destination without itermediate buffer. More efficient and safer,
1818 since no allocation is done.
1820 * fusermount: fix warning if fuse module is not loaded
1822 * kernel: use /dev/fuse on 2.4 too
1824 2004-11-26 Miklos Szeredi <miklos@szeredi.hu>
1826 * libfuse API change: open, read, write, flush, fsync and release
1827 are passed a 'struct fuse_file_info' pointer containing the open
1828 flags (open and release), and the file handle. Verion changed to
1831 2004-11-23 Miklos Szeredi <miklos@szeredi.hu>
1833 * More cleanups in the kernel
1835 * The 10,229 charater device number has been assigned for FUSE
1837 * Version file checking fix (reported by Christian Magnusson)
1839 * fusermount: opening the fuse device now doesn't need /sys.
1841 * Optimize reading by controlling the maximum readahead based on
1842 the 'max_read' mount option
1844 * fixes for UCLIBC (Christian Magnusson)
1846 2004-11-19 Miklos Szeredi <miklos@szeredi.hu>
1848 * Cleaned up kernel in preparation for merge into mainline:
1850 * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version
1852 * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev
1854 * __user annotations for sparse
1856 * allocate individual pages instead of kmalloc in fuse_readdir,
1857 fuse_read and fuse_write.
1859 * Fix NFS export in case "use_ino" mount option is given
1861 * Make libfuse and fusermount compatible with future versions
1863 * fusermount: properly add mount options to /etc/mtab
1865 2004-11-15 Miklos Szeredi <miklos@szeredi.hu>
1867 * fusermount: do not resolve last component of mountpoint on if it
1868 is '.' or '..'. This new path resolvation is now done on mount as
1869 well as unmount. This enables relative paths to work on unmount.
1871 * fusermount: parse common mount options like "ro", "rw", etc...
1873 * Allow module params to be changed through sysfs
1875 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
1879 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
1881 * Fix bug in fuse_readpages() causing Oops in certain situations.
1882 Bug found by Vincenzo Ciancia.
1884 * Fix compilation with kernels versions > 2.6.9.
1886 2004-11-11 Miklos Szeredi <miklos@szeredi.hu>
1888 * Check kernel interface version in fusermount to prevent
1889 strangeness in case of mismatch.
1891 * No need to allocate fuse_conn until actual mount happens
1893 * Fix potential race between umount and fuse_invalidate
1895 * Check superblock of proc file in addition to inode number
1897 * Fix race between request_send_noreply() and fuse_dev_release()
1899 2004-11-10 Miklos Szeredi <miklos@szeredi.hu>
1901 * Separate configure for the kernel directory
1903 * Don't allow write to return more than 'count'
1905 * Extend kernel interface for future use
1907 2004-11-09 Miklos Szeredi <miklos@szeredi.hu>
1909 * Fix 'makeconf.sh' to use autoreconf if available
1911 2004-11-08 Miklos Szeredi <miklos@szeredi.hu>
1913 * Add ino argument to 'fuse_dirfil_t'. NOTE: This breaks source
1914 compatibility with earlier versions. To compile earier versions
1915 just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
1916 Do not use the "use_ino" mount flag with filesystems compiled with
1919 * Add pkg-config support. To compile a FUSE based filesystem you
1920 can do "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
1921 or similar. Note, that the PKG_CONFIG_PATH environment variable
1922 usually needs to be set to "/usr/local/lib/pkgconfig".
1924 * fuse.h is now installed in ${prefix}/include/fuse/
1926 2004-11-02 Miklos Szeredi <miklos@szeredi.hu>
1928 * Added "use_ino" mount option. This enables the filesystems to
1929 set the st_ino field on files
1931 2004-11-01 Miklos Szeredi <miklos@szeredi.hu>
1933 * Fix compile problems with ancient (<=2.4.18) kernels (reported
1936 * Add "allow_root" mount option. Patch by Yaroslav Rastrigin
1938 * Clear the 'exited' flag when mail loop is finished
1940 2004-10-28 Miklos Szeredi <miklos@szeredi.hu>
1942 * Make xattr functions work under 2.6 (bug found by Vincenzo
1945 2004-10-26 Miklos Szeredi <miklos@szeredi.hu>
1947 * Reset request in fuse_flush() (bugreport by David Shaw)
1949 2004-10-21 Miklos Szeredi <miklos@szeredi.hu>
1951 * fuse_main() now does not exit on error, rather it returns an
1954 * Exported __fuse_setup() and __fuse_teardown() functions, which
1955 make it easier to implement a custom event loop.
1957 * Use daemon() call to background the filesystem after mounting.
1958 This function closes the standard input, output and error and
1959 changes the current working directory to "/".
1961 2004-10-14 Miklos Szeredi <miklos@szeredi.hu>
1965 2004-10-09 Miklos Szeredi <miklos@szeredi.hu>
1967 * Don't allow fuse_flush() to be interrupted (bug found by David
1970 2004-09-27 Miklos Szeredi <miklos@szeredi.hu>
1972 * Add PID to fuse_context. Patch by Steven James
1974 * Change file handle type to 'unsigned long' in kernel interface
1976 2004-09-22 Miklos Szeredi <miklos@szeredi.hu>
1978 * A slight API change: fuse_get_context() doesn't need the "fuse"
1979 pointer, but the returned context contains it instead. The
1980 fuse_get() function is not needed anymore, so it's removed.
1982 * Fix mounting and umounting FUSE filesystem under another FUSE
1983 filesystem by non-root (bug spotted by Valient Gough)
1985 2004-09-21 Miklos Szeredi <miklos@szeredi.hu>
1987 * Fix deadlock in case of memory allocation failure. Patch by
1990 2004-09-16 Miklos Szeredi <miklos@szeredi.hu>
1992 * Check memory allocation failures in libfuse
1994 2004-09-14 Miklos Szeredi <miklos@szeredi.hu>
1996 * Check temporary file creation failure in do_getdir(). Bug
1997 spotted by Terje Oseberg
1999 2004-09-13 Miklos Szeredi <miklos@szeredi.hu>
2001 * Allow "large_read" option for 2.6 kernels but warn of deprecation
2003 * Make requests non-interruptible so race with FORGET is avoided.
2004 This is only a temporary solution
2006 * Support compiling FUSE kernel module on 2.4.x UML kernels
2008 2004-09-09 Miklos Szeredi <miklos@szeredi.hu>
2010 * Fix bug in case two FORGETs for the same node are executed in
2011 the wrong order. Bug spotted and endured for months by Franco
2012 Broi, and logfile for solution provided by Terje Oseberg
2014 2004-09-01 Miklos Szeredi <miklos@szeredi.hu>
2016 * Add -D_REENTRANT to the compile flags
2018 * Add documentation of fuse internals by Terje Oseberg
2020 2004-08-16 Miklos Szeredi <miklos@szeredi.hu>
2022 * Change release method to be non-interruptible. Fixes bug
2023 causing missing release() call when program which has opened files
2024 is killed (reported by Franco Broi and David Shaw)
2026 2004-07-29 Miklos Szeredi <miklos@szeredi.hu>
2028 * Add fuse_invalidate() to library API
2030 2004-07-26 Miklos Szeredi <miklos@szeredi.hu>
2032 * Check permissions in setattr if 'default_permissions' flag is
2033 set. Bug spotted by Damjan Lango
2035 2004-07-24 Miklos Szeredi <miklos@szeredi.hu>
2037 * 'large_read' mount option removed for 2.6 kernels, since the
2038 default (dynamic read size) is better
2040 * Extend kernel API with file handles. A file handle is returned
2041 by open, and passed to read, write, flush, fsync and release.
2042 This is currently only used for debug output in the library.
2046 * Change the current directory to the mountpoint before checking
2047 the permissions and mount filesystem on "."
2049 * By default don't modprobe the fuse module for non-root. The old
2050 behavior can be restored with the '--enable-auto-modprobe' flag of
2053 * By default don't allow shared writable mappings for non-root.
2054 The old behavior can be restored with the 'user_mmap=1' module
2057 2004-07-23 Miklos Szeredi <miklos@szeredi.hu>
2059 * Clean up mount option passing to fusermount and to fuse_new()
2060 BEWARE: this changes the userspace API slightly, and the command
2061 line usage of programs using fuse_main()
2063 2004-07-20 Miklos Szeredi <miklos@szeredi.hu>
2065 * Optimize reading under 2.6 kernels by issuing multiple page
2066 asynchronous read requests
2068 2004-07-18 Miklos Szeredi <miklos@szeredi.hu>
2070 * Only use redirty_page_for_writepage() for kernels >= 2.6.6
2072 2004-07-16 Miklos Szeredi <miklos@szeredi.hu>
2074 * Separate directory entry and inode attribute validity timer
2076 * New write semaphore to stop page writeback during truncate
2078 * Fsync now waits for all writes to complete before sending the
2081 * Optimization: if a page is completely written by
2082 fuse_commit_write(), clear the dirty flag and set the uptodate
2085 * Some memory cleanup at exit
2087 2004-07-13 Miklos Szeredi <miklos@szeredi.hu>
2089 * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
2090 disable the "hide if open" behavior of unlink/rename.
2092 * If temporary buffer allocation fails in raw read, fall back to a
2095 2004-07-12 Miklos Szeredi <miklos@szeredi.hu>
2097 * Fix bug in do_open() in libfuse: open count was incremented
2098 after the reply is sent so it could race with unlink/forget and
2101 2004-07-08 Miklos Szeredi <miklos@szeredi.hu>
2103 * When performing create or remove operation, refresh the parent's
2104 attributes on next revalidate, as i_nlink (and maybe size/time)
2107 * Use redirty_page_for_writepage() in fuse_writepage() for skipped
2110 * Set set_page_dirty address space operation (2.6 only)
2112 2004-07-06 Miklos Szeredi <miklos@szeredi.hu>
2114 * Minor fix in read: print debug info even if read size is zero
2116 2004-07-04 Miklos Szeredi <miklos@szeredi.hu>
2118 * Fix race between truncate and writepage (fsx-linux now runs
2121 2004-07-02 Miklos Szeredi <miklos@szeredi.hu>
2123 * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch
2126 * Added option for direct read/write (-r)
2128 * Fix revalidate time setting for newly created inodes
2130 * Remove uid==0 check for '-x' option in fusermount (kernel checks
2133 * fuse_main() only installs handlers for signals (out of INT, HUP,
2134 TERM, PIPE), for which no handler has yet been installed
2136 * Add module option 'user_allow_other' which if set to non-zero
2137 will allow non root user to specify the 'allow_other' mount option
2138 ('-x' option of fusermount)
2140 * Fix deadlock between page writeback completion and truncate
2141 (bug found by Valient Gough with the fsx-linux utility)
2143 2004-07-01 Miklos Szeredi <miklos@szeredi.hu>
2145 * Change passing fuse include dir to 2.6 kernel make system more
2146 robust (fixes compile problems seen on SuSE 9.1 with updated 2.6
2149 2004-06-30 Miklos Szeredi <miklos@szeredi.hu>
2151 * Acquire inode->i_sem before open and release methods to prevent
2152 concurrent rename or unlink operations.
2154 * Make __fuse_read_cmd() read only one command. This allows
2155 multiplexing the fuse file descriptor with other event sources
2156 using select() or poll() (patch by Jeff Harris)
2158 * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)
2160 2004-06-27 Miklos Szeredi <miklos@szeredi.hu>
2162 * Fix file offset wrap around at 4G when doing large reads
2164 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
2166 * Fix memory leak in open (Valient Gough)
2168 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
2170 * Add "close after delete" support to libfuse (patch by Valient
2173 * Cancel all worker threads before exit in multithreaded mode
2175 2004-06-23 Miklos Szeredi <miklos@szeredi.hu>
2179 * Don't send reply to RELEASE
2181 * Work with newer libtool (1.5a)
2183 * Check for st_atim member of struct stat
2185 2004-06-22 Miklos Szeredi <miklos@szeredi.hu>
2187 * No request allocation needed on inode and file release
2189 2004-06-21 Miklos Szeredi <miklos@szeredi.hu>
2191 * Fix possible inode leak in userspace in case of unfinished
2192 lookup/mknod/mkdir/symlink/link operation.
2194 2004-06-20 Miklos Szeredi <miklos@szeredi.hu>
2196 * Fix some races and cleanups in fuse_read_super()
2198 2004-06-19 Miklos Szeredi <miklos@szeredi.hu>
2200 * Requests are allocated at open time
2202 2004-06-03 Miklos Szeredi <miklos@szeredi.hu>
2204 * Build shared library as well as static (using libtool)
2206 * Change FUSE_MINOR_VERSION from 1 to 0. I know it's illegal but
2207 there has not been a release with the previous minor number, and I
2208 hope nobody is using it for anything.
2210 * Change fuse_main(), so that default behavior is to go into
2211 background if mount is successful. '-f' and '-d' options disable
2212 backgrounding. This fixes the "Why does my FUSE daemon hang?"
2215 * Cache ENOSYS (function not implemented) errors on *xattr, flush
2218 * Don't call getdir method from open() only from first readdir().
2219 Open is sometimes just used to store the current directory
2222 2004-05-18 Miklos Szeredi <miklos@szeredi.hu>
2224 * Added flush() call
2226 2004-05-04 Miklos Szeredi <miklos@szeredi.hu>
2228 * Extended attributes support for 2.4 (patch by Cody Pisto)
2230 2004-04-20 Miklos Szeredi <miklos@szeredi.hu>
2232 * Fixed parser with modversions (Mattias Wadman)
2234 2004-04-19 Miklos Szeredi <miklos@szeredi.hu>
2236 * Added mount option parser to 2.4 build
2238 2004-04-13 Miklos Szeredi <miklos@szeredi.hu>
2240 * Replaced binary mount data with text options
2242 * Show FUSE specific mount options in /proc/mounts
2244 * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64
2246 2004-04-09 Miklos Szeredi <miklos@szeredi.hu>
2248 * Check some limits so userspace won't get too big requests
2250 2004-04-05 Miklos Szeredi <miklos@szeredi.hu>
2252 * Kill compile warning
2254 * Upgraded user-mount patch for 2.6.5
2256 2004-04-02 Miklos Szeredi <miklos@szeredi.hu>
2258 * Add detection of user-mode-linux to configure
2260 2004-03-31 Miklos Szeredi <miklos@szeredi.hu>
2262 * fixed zero size case for getxattr and listxattr
2264 2004-03-30 Miklos Szeredi <miklos@szeredi.hu>
2266 * new fusermount flag '-z': lazy unmount, default is not lazy
2268 * Extended attributes operations added (getxattr, setxattr,
2269 listxattr, removexattr)
2271 2004-03-25 Miklos Szeredi <miklos@szeredi.hu>
2273 * If filesystem doesn't define a statfs operation, then an
2274 all-zero default statfs is returned instead of ENOSYS
2276 2004-03-24 Miklos Szeredi <miklos@szeredi.hu>
2278 * Add FS_BINARY_MOUNTDATA filesystem flag for kernels > 2.6.4
2280 2004-03-09 Miklos Szeredi <miklos@szeredi.hu>
2282 * Fix for uClinux (Christian Magnusson)
2284 2004-03-02 Miklos Szeredi <miklos@szeredi.hu>
2286 * fuse_main() adds "-n progname" to the fusermount command line
2288 * More kernel interface changes:
2290 * Lookup/getattr return cache timeout values
2292 2004-02-25 Miklos Szeredi <miklos@szeredi.hu>
2294 * Clean up option parsing in fuse_main()
2296 * Added fuse_get() function which returns the fuse object created
2299 2004-02-20 Miklos Szeredi <miklos@szeredi.hu>
2301 * removed old way of mounting (fusermount mountpoint program)
2303 * more kernel interface changes:
2305 * added nanosecond precision to file times
2307 * removed interface version from mount data
2309 * added /proc/fs/fuse/version which contains MAJOR.MINOR
2311 2004-02-19 Miklos Szeredi <miklos@szeredi.hu>
2313 * statfs library API changed to match other methods. Since this
2314 is not backward compatible FUSE_MAJOR_VERSION is changed to 2
2316 * kernel interface changes follow:
2318 * statfs changed to 64 bits, added 'bavail' field
2320 * add generation number to lookup result
2322 * optimized mknod/mkdir/symlink/link (no separate lookup is
2325 * rdev size increased to 32 bits for mknod
2327 * kernel interface version changed to 3.1
2329 2004-02-18 Miklos Szeredi <miklos@szeredi.hu>
2331 * user-mount upgraded for 2.6.3 kernel
2333 2004-02-17 Miklos Szeredi <miklos@szeredi.hu>
2335 * Added user-mount.2.6.2-rc3.patch
2337 * Add FS_SAFE flag to fuse filesystem
2339 * fusermount should allow (un)mounting for non-root even if not
2342 2004-02-12 Miklos Szeredi <miklos@szeredi.hu>
2344 * Remove MS_PERMISSION mount flag (that means something else now)
2346 2004-02-10 Miklos Szeredi <miklos@szeredi.hu>
2348 * Added check for i_size_read/write functions to configure.in
2349 (patch by Valient Gough)
2351 2004-02-06 Miklos Szeredi <miklos@szeredi.hu>
2353 * Fixed writing >= 2G files
2355 * Check file size on open (with generic_file_open())
2357 * Readpage calls flush_dcache_page() after storing data
2359 * Use i_size_read/write for accessing inode->i_size
2361 * Make loopback mount of a fuse file work
2363 2004-02-04 Miklos Szeredi <miklos@szeredi.hu>
2367 2004-01-29 Miklos Szeredi <miklos@szeredi.hu>
2369 * Properly check if the inode exists in fuse_invalidate
2371 2004-01-27 Miklos Szeredi <miklos@szeredi.hu>
2373 * Added -q option for fusermount
2375 * fuse_unmount() now uses -q option of fusermount, so no error is
2376 printed if the cause of the program exit is that the filesystem
2377 has already been unmounted
2379 * Fix i_nlink correctness after rmdir/unlink
2381 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
2385 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
2387 * Fix typo (thanks Marcos Dione)
2389 * Compile fixes for 2.4 kernels
2391 2004-01-23 Miklos Szeredi <miklos@szeredi.hu>
2393 * Fix CONFIG_MODVERSIONS compile on 2.6
2395 2004-01-22 Miklos Szeredi <miklos@szeredi.hu>
2397 * Write all pending data before a RELEASE operation
2399 * Suppress 'Bad file descriptor' warning on exit
2401 * Replaced fusermount option '-d xxx' with '-n xxx' so it doesn't
2402 get confused with '-d' of fuse_main() (sorry about this change)
2404 * New fusermount option '-l' which enables big reads. Big reads
2405 are now disabled by default.
2407 * fuse_main() can accept fusermount arguments after a '--'
2409 2004-01-19 Miklos Szeredi <miklos@szeredi.hu>
2411 * Support for exporting filesystem over NFS (see README.NFS)
2413 2004-01-14 Miklos Szeredi <miklos@szeredi.hu>
2415 * Support non-blocking writepage on 2.6. This makes FUSE behave
2416 much more nicely in low-memory situations
2418 * Fix 32-bit dev handling in getattr and mknod for 2.6 kernels.
2419 (Note: the mknod method does not yet use 32bit device number)
2421 2004-01-13 Miklos Szeredi <miklos@szeredi.hu>
2425 2004-01-07 Miklos Szeredi <miklos@szeredi.hu>
2429 2004-01-06 Miklos Szeredi <miklos@szeredi.hu>
2431 * Integrated 2.6 kernel support patch by Michael Grigoriev
2433 * Improvements and cleanups for 2.6 kernels
2435 2004-01-05 Miklos Szeredi <miklos@szeredi.hu>
2437 * Added -d option to fusermount
2439 2003-12-15 Miklos Szeredi <miklos@szeredi.hu>
2441 * Added major+minor version to library API, and minor version to
2444 2003-12-13 David McNab <david@rebirthing.co.nz>
2446 * Implemented fsync support in examples/example.py
2448 * Implemented 'fsync' and 'statfs' methods in python
2451 2003-12-12 Miklos Szeredi <miklos@szeredi.hu>
2453 * Make it compile on 2.4.19.
2455 * Add fsync operation (write file failed on xemacs & vi)
2457 2003-12-12 David McNab <david@rebirthing.co.nz>
2459 * Added distutils support to the python module, as per standard
2460 python development practice
2462 2003-12-11 Miklos Szeredi <miklos@szeredi.hu>
2464 * Add file locking for mount/unmount (based on patch by Valient
2467 2003-12-11 David McNab <david@rebirthing.co.nz>
2469 * Python filesystem - was broken with python2.3, now fixed:
2470 - changed PyTuple_* calls to PySequence_*, because os.lstat
2471 is no longer returning a pure tuple
2472 - changed PyInt_Check() calls to also call PyLong_Check,
2473 to cover for cases (eg os.lstat) where longs are returned
2474 - Added support for file 'release' handling, which IMO is
2475 essential since this signals to a FS that writes to a file
2476 are complete (and therefore the file can now be disposed of
2477 meaningfully at the python filesystem's discretion)
2478 - Added '__init__' handler to base Fuse class, which allows
2479 your Python class to know the mountpoint and mount args,
2480 as attributes myfs.mountpoint, myfs.optlist, myfs.optdict
2483 - added 'mount.fuse' script (in util/ dir), which is meant to be
2484 symlinked from /sbin, and which allows FUSE filesystems to
2485 be mounted with the 'mount' command, and listed in fstab;
2486 also, mount arguments get passed to your filesystem
2489 2003-11-04 Miklos Szeredi <miklos@szeredi.hu>
2491 * Fix kernel version detection (again). Bugreport by Peter Levart
2493 2003-11-03 Miklos Szeredi <miklos@szeredi.hu>
2495 * Applied read combining patch by Michael Grigoriev (tested by
2496 Valient Gough and Vincent Wagelaar)
2498 2003-10-22 Miklos Szeredi <miklos@szeredi.hu>
2500 * Mtab handling fix in fusermount by "Valient Gough" (SF patch
2503 2003-10-13 Miklos Szeredi <miklos@szeredi.hu>
2505 * Error code fixes in kernel module
2507 2003-10-04 Miklos Szeredi <miklos@szeredi.hu>
2509 * kernel version detection fix
2511 * fusermount now uses "lazy" umount option
2513 * fusermount can use modprobe with module-init-tools
2515 2003-09-08 Miklos Szeredi <miklos@szeredi.hu>
2517 * Integrated caching patch by Michael Grigoriev
2519 * Added "Filesystems" file with descriptions of projects using
2522 * Added patch by Michael Grigoriev to allow compliation of FUSE
2523 kernel module for 2.6 kernels
2525 2003-06-02 Miklos Szeredi <miklos@szeredi.hu>
2527 * And another spec-file fix by Achim Settelmeier
2529 2003-05-26 Miklos Szeredi <miklos@szeredi.hu>
2531 * Spec-file fix by Achim Settelmeier
2533 2003-03-10 Miklos Szeredi <miklos@szeredi.hu>
2535 * Fix umount oops (found by Samuli Kärkkäinen)
2537 2003-03-05 Miklos Szeredi <miklos@szeredi.hu>
2539 * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier
2541 2003-03-04 Miklos Szeredi <miklos@szeredi.hu>
2543 * Updated fuse.spec file (Achim Settelmeier)
2545 2003-02-19 Miklos Szeredi <miklos@szeredi.hu>
2547 * Version 1.0 released
2549 2003-02-12 Miklos Szeredi <miklos@szeredi.hu>
2551 * SuSE compilation fix by Juan-Mariano de Goyeneche
2553 2002-12-10 Miklos Szeredi <miklos@szeredi.hu>
2555 * The release() VFS call is now exported to the FUSE interface
2557 2002-12-05 Miklos Szeredi <miklos@szeredi.hu>
2559 * 64 bit file offset fixes in the fuse kernel module
2561 * Added function 'fuse_exit()' which can be used to exit the main
2564 2002-12-03 Miklos Szeredi <miklos@szeredi.hu>
2566 * Added _FILE_OFFSET_BITS=64 define to fuse.h. Note, that this is
2567 an incompatible interface change.
2569 2002-10-28 Miklos Szeredi <miklos@szeredi.hu>
2571 * Portablility fix (bug reported by C. Chris Erway)
2573 2002-10-25 Miklos Szeredi <miklos@szeredi.hu>
2575 * Use Mark Glines' fd passing method for default operation instead
2578 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
2580 * fix "Stale NFS file handle" bug caused by changes in 2.4.19
2582 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
2584 * fix incompatiblity with Red Hat kernels, with help from Nathan
2587 2002-04-18 Mark Glines <mark@glines.org>
2589 * added an alternative to fuse_mount(), called
2590 fuse_mount_ioslave(), which does not need to reexec the
2592 * added a small helper util needed by fuse_mount_ioslave().
2594 2002-03-16 Mark Glines <mark@glines.org>
2596 * use struct fuse_statfs everywhere possible to avoid problems
2597 with the headerfiles changing struct statfs member sizes
2599 2002-03-01 Miklos Szeredi <miklos@szeredi.hu>
2601 * Another RPM spec file for RedHat >= 7 by Ian Pilcher
2603 2002-01-14 Miklos Szeredi <miklos@szeredi.hu>
2605 * RPM support by Achim Settelmeier
2607 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
2609 * Version 0.95 released
2611 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
2613 * Revaidate all path components not just the last, this means a
2614 very small performance penalty for being more up-to-date.
2616 2002-01-08 Miklos Szeredi <miklos@szeredi.hu>
2618 * Update and fix python interface
2620 2002-01-07 Mark Glines <mark@glines.org>
2622 * Added statfs() support to kernel, lib, examples, and perl!
2624 2001-12-26 Miklos Szeredi <miklos@szeredi.hu>
2626 * Better cross compilation support
2628 * Ported to Compaq IPAQ
2630 2001-12-20 Miklos Szeredi <miklos@szeredi.hu>
2632 * Added function fuse_get_context() to library API (inspired by
2633 patch from Matt Ryan)
2635 * Added flags to fusermount and to kernel interface to control
2638 * Integrated fuse_set_operations() into fuse_new()
2640 2001-12-08 Miklos Szeredi <miklos@szeredi.hu>
2642 * Applied header protection + extern "C" patch by Roland
2645 2001-12-02 Miklos Szeredi <miklos@szeredi.hu>
2647 * Added perl bindings by Mark Glines
2649 2001-11-21 Miklos Szeredi <miklos@szeredi.hu>
2651 * Cleaned up way of mounting simple filesystems.
2653 * fuse_main() helper function added
2655 2001-11-18 Miklos Szeredi <miklos@szeredi.hu>
2657 * Optimized read/write operations, so that minimal copying of data
2660 2001-11-14 Miklos Szeredi <miklos@szeredi.hu>
2662 * Python bindings by Jeff Epler added
2664 2001-11-13 Miklos Szeredi <miklos@szeredi.hu>
2666 * Fixed vfsmount reference leak in fuse_follow_link
2668 * FS blocksize is set to PAGE_CACHE_SIZE, blksize attribute from
2669 userspace is ignored
2671 2001-11-09 Miklos Szeredi <miklos@szeredi.hu>