1 2011-08-24 Miklos Szeredi <miklos@szeredi.hu>
3 * Use LRU list for cleaning up the cache if the "remember=T"
4 option was given. Patch by therealneworld@gmail.com
6 2011-07-06 Miklos Szeredi <miklos@szeredi.hu>
8 * Add ->flock() operation to low and high level interfaces. This
9 fixes problems with emulating flock() with POSIX locking.
10 Reported by Sebastian Pipping. As with lock/setlk/getlk most
11 filesystems don't need to implement this, as the kernel takes care
12 of file locking. The only reason to implement locking operations
13 is for network filesystems which want file locking to work between
16 2011-07-02 Sebastian Pipping <sebastian@pipping.org>
18 * Make xmp_utimens of examples "fusexmp" and "fusexmp_fh"
19 not follow symlinks as other layers do that already.
21 2011-06-02 Miklos Szeredi <miklos@szeredi.hu>
23 * Add "remember" option. This works similar to "noforget" except
24 that eventually the node will be allowed to expire from the cache.
25 Patch by therealneworld@gmail.com
27 2011-05-27 Miklos Szeredi <miklos@szeredi.hu>
29 * Check if splice/vmsplice are supported
31 2011-05-26 Miklos Szeredi <miklos@szeredi.hu>
33 * Remove -lrt -ldl from fuse.pc for dynamic linking since
34 libfuse.so is already linked with these libraries. Reported by:
37 2011-05-20 Miklos Szeredi <miklos@szeredi.hu>
39 * Cleaner build output. Patch by Reuben Hawkins
41 2011-05-19 Miklos Szeredi <miklos@szeredi.hu>
43 * Disable splice by default, add "splice_read", "splice_write" and
44 "splice_move" options. Keep the "no_splice_*" variants, which can
45 disable splice even if the filesystem explicitly enables it.
47 2011-04-15 Max Krasnyansky <maxk@kernel.org>
48 * Added support for "auto_unmount" option which unmounts the
49 filesystem automatically on process exit (or crash).
51 2011-03-30 Miklos Szeredi <miklos@szeredi.hu>
53 * Patches by Laszlo Papp fixing various issues found by the
56 2011-03-11 Miklos Szeredi <miklos@szeredi.hu>
58 * In case of failure to add to /etc/mtab don't umount. Reported
61 2011-02-02 Miklos Szeredi <miklos@szeredi.hu>
63 * libfuse: In fuse_session_loop_mt() don't pause when exiting the
64 worker threads. The pause() was added in 2.2.1 to prevent
65 segfault on pthread_cancel() on an exited, detached thread. Now
66 worker threads are not detached and pthread_cancel() should work
67 fine even after the thread exited. Reported by Boris Protopopov
69 2011-01-31 Miklos Szeredi <miklos@szeredi.hu>
71 * fusermount: chdir to / before performing mount/umount
73 * fusermount: only allow mount and umount if util-linux supports
76 2010-12-16 Miklos Szeredi <miklos@szeredi.hu>
78 * Highlevel lib: allow hash tables to shrink
80 * Highlevel lib: add slab allocation for node cache. This will
81 allow the memory used by the filesystem to grow and shrink
82 depending on how many inodes are currently cached.
84 2010-12-13 Miklos Szeredi <miklos@szeredi.hu>
86 * Highlevel lib: use dynamically resized hash table for looking up
89 2010-12-07 Miklos Szeredi <miklos@szeredi.hu>
91 * Allow batching of forget requests. This allows forget requests
92 to be processed faster and doesn't require a modification to fuse
93 filesystems. Reported by Terje Malmedal
95 * Add ->forget_multi() operation to the lowlevel API. The
96 filesystem may implement this to process multiple forget requests
99 * Fix the ambiguity of ioctl ABI on the kernel/userspace boundary
100 for 32bit vs. 64bit userspace
102 2010-11-10 Miklos Szeredi <miklos@szeredi.hu>
104 * Add new write_buf() method to the highlevel API. Similarly to
105 the lowlevel write_buf() method, this allows implementing zero
108 * Add a new read_buf() method to the highlevel API. This allows
109 returning a generic buffer from the read method, which in turn
110 allows zero copy reads.
112 * In fusexmp_fh implement the ->read_buf() and ->write_buf()
113 methods. Leave the ->read() and ->write() implementations for
114 reference, even though they are not necessary.
116 2010-11-08 Miklos Szeredi <miklos@szeredi.hu>
118 * Fix check for read-only fs in mtab update
120 * Open /dev/null for write instead of read for redirecting stdout
123 * If umount(8) supports --fake and --no-canonicalize (util-linux-ng
124 version 2.18 or later), and umount(2) supports the
125 UMOUNT_NOFOLLOW flag (linux kernel version 2.6.35 or later) then,
126 "fusermount -u" will call the umount(2) system call and use
127 "umount --fake ..." to update /etc/mtab
129 * Added --disable-legacy-umount option to configure. This
130 disables the runtime checking of umount(8) version. When built
131 with this option then "fusermount -u" will fail if umount(8)
132 doesn't support the --fake and --no-canonicalize options.
134 * Fix fuse_buf_copy() if already at the end of the buffers
136 * Add new ->write_buf() method to low level interface. This
137 allows passig a generic buffer, either containing a memory buffer
138 or a file descriptor. This allows implementing zero copy writes.
140 * Add fuse_session_receive_buf() and fuse_session_process_buf()
141 which may be used in event loop implementations to replace
142 fuse_chan_recv() and fuse_session_process() respectively.
144 * Remove unnecessary restoring of current working directory in
147 * Add ctx->pid to debug output
149 * Fix st_nlink value in high level lib if file is unlinked but
152 * libfuse: add store request. Request data to be stored in the
153 kernel buffers for a given inode.
155 * libfuse: add retrieve request. Retrieve data stored in the
156 kernel buffers for a given inode.
158 2010-10-14 Miklos Szeredi <miklos@szeredi.hu>
160 * Use LTLIBICONV when linking libfuse. This fixes building against
161 uclibc + libiconv. Patch by Natanael Copa
163 2010-10-05 Miklos Szeredi <miklos@szeredi.hu>
165 * Add missing argument check in ulockmgr.c to prevent calling
166 ulockmgr_server with illegal arguments. This would cause an ever
167 growing list of ulockmgr_server processes with an endless list of
168 open files which finally exceeds the open file handle limit.
169 Patch by Markus Ammer
171 2010-09-28 Miklos Szeredi <miklos@szeredi.hu>
173 * Fix ambiguous symbol version for fuse_chan_new.
174 fuse_versionscript included fuse_chan_new in both FUSE_2.4 and
175 FUSE_2.6. Remove the FUSE_2.4, which is invalid.
177 2010-09-28 Miklos Szeredi <miklos@szeredi.hu>
179 * Fix option escaping for fusermount. If the "fsname=" option
180 contained a comma then the option parser in fusermount was
181 confused (Novell bugzilla #641480). Fix by escaping commas when
182 passing them over to fusermount. Reported by Jan Engelhardt
184 2010-08-27 Miklos Szeredi <miklos@szeredi.hu>
186 * Add NetBSD support. Patch from Emmanuel Dreyfus
188 2010-07-12 Miklos Szeredi <miklos@szeredi.hu>
190 * libfuse: add buffer interface. Add a generic buffer interface
191 for use with I/O. Buffer vectors are supplied and each buffer in
192 the vector may be a memory pointer or a file descriptor.
194 * The fuse_reply_fd() interface is converted to using buffers.
196 2010-06-23 Miklos Szeredi <miklos@szeredi.hu>
198 * Make the number of max background requests and congestion
199 threshold tunable. New options are "max_background" and
200 "congestion_threshold". Only effective on linux kernel versions
201 2.6.32 or greater. Patch by Csaba Henk
203 2010-06-17 Miklos Szeredi <miklos@szeredi.hu>
205 * Add fuse_reply_fd() reply function to the low level interface.
206 On linux version 2.6.35 or greater this will use splice() to move
207 data directly from a file descriptor to the fuse device without
208 needing to go though a userspace buffer. With the
209 FUSE_REPLY_FD_MOVE flag the kernel will attempt to move the data
210 directly into the filesystem's cache. On earlier kernels it will
211 fall back to an intermediate buffer. The options
212 "no_splice_write" and "no_splice_move" can be used to disable
213 splicing and moving respectively.
215 2010-06-15 Miklos Szeredi <miklos@szeredi.hu>
217 * Fix out-of-source build. Patch by Jörg Faschingbauer
219 * Add a "nopath" option and flag, indicating that path argument
220 need not be calculated for the following operations: read, write,
221 flush, release, fsync, readdir, releasedir, fsyncdir, ftruncate,
222 fgetattr, lock, ioctl and poll.
224 2010-05-10 Miklos Szeredi <miklos@szeredi.hu>
226 * Remove "chmod root" from install of fusermount. Reported by
229 2010-04-26 Miklos Szeredi <miklos@szeredi.hu>
233 2010-04-26 Miklos Szeredi <miklos@szeredi.hu>
235 * Fix checking for symlinks in umount from /tmp. Reported by Al
238 * Fix umounting if /tmp is a symlink. Reported by Franco Broi
240 2010-02-18 Miklos Szeredi <miklos@szeredi.hu>
242 * Fix definition of FUSE_OPT_END for C++. Reported by Tim
245 2010-02-03 Miklos Szeredi <miklos@szeredi.hu>
247 * Fix stack alignment for clone()
249 2010-02-01 Miklos Szeredi <miklos@szeredi.hu>
253 2010-02-01 Miklos Szeredi <miklos@szeredi.hu>
255 * Using "--no-canonicalize" with umount(8) conflicts with the race
256 fix, sinceit assumes the supplied path is absolute, while the race
257 fix relies on the path being relative to the current directory.
258 Reported by Tom Rindborg
260 2010-01-26 Miklos Szeredi <miklos@szeredi.hu>
264 2010-01-21 Miklos Szeredi <miklos@szeredi.hu>
266 * Fix race if two "fusermount -u" instances are run in parallel.
267 Reported by Dan Rosenberg
269 * Make sure that the path to be unmounted doesn't refer to a
272 2010-01-14 Miklos Szeredi <miklos@szeredi.hu>
274 * Fix compile error on FreeBSD. Patch by Jay Sullivan
276 2009-12-17 Miklos Szeredi <miklos@szeredi.hu>
278 * Use '--no-canonicalize' option of mount(8) (available in
279 util-linux-ng version 2.17 or greater) to avoid calling
280 readling(2) on the newly mounted filesystem before the mount
281 procedure is finished. This has caused a deadlock if "audit" was
282 enabled in the kernel. Also use '--no-canonicalize' for umount to
283 avoid touching the mounted filesystem.
285 2009-09-11 Miklos Szeredi <miklos@szeredi.hu>
289 2009-08-25 Miklos Szeredi <miklos@szeredi.hu>
291 * Fix missing versioned symbol fuse_get_context@FUSE_2.2
293 2009-08-18 Miklos Szeredi <miklos@szeredi.hu>
297 2009-08-18 Miklos Szeredi <miklos@szeredi.hu>
299 * Add missing fuse_session_data to versionscript
301 * Make sure all global symbols are prefixed with "fuse_" or "cuse_"
303 2009-07-16 Miklos Szeredi <miklos@szeredi.hu>
305 * Clarify how the protocol version should be negotiated between
306 kernel and userspace. Notably libfuse didn't correctly handle the
307 case when the supported major versions didn't match
309 * Add missing pthread link for libulockmgr. Patch by Petr Salinger
311 2009-07-02 Miklos Szeredi <miklos@szeredi.hu>
313 * The context is extended with a 'umask' field. The umask is sent
314 for mknod, mkdir and create requests by linux kernel version
315 2.6.31 or later, otherwise the umask is set to zero. Also
316 introduce a new feature flag: FUSE_CAP_DONT_MASK. If the kernel
317 supports this feature, then this flag will be set in conn->capable
318 in the ->init() method. If the filesystem sets this flag in in
319 conn->want, then the create modes will not be masked.
321 * Add low level interfaces for lookup cache and attribute
322 invalidation. This feature is available in linux kernels 2.6.31
323 or later. Patch by John Muir
325 * Kernel interface version is now 7.12
327 * fusermount: Do not silently ignore command line arguments.
328 Patch by Sebastian Harl
330 2009-06-19 Miklos Szeredi <miklos@szeredi.hu>
332 * Released 2.8.0-pre3
334 2009-06-19 Miklos Szeredi <miklos@szeredi.hu>
336 * Add fuse_getgroups (high level lib) and fuse_req_getgroups (low
337 level lib) functions to query the supplementary group IDs for the
338 current request. Currently this is implemented on Linux by
339 reading from the /proc filesystem.
341 2009-06-18 Miklos Szeredi <miklos@szeredi.hu>
343 * Add "noforget" option to high level lib to prevent ESTALE errors
344 on NFS exported filesystems. This result in paths being cached
345 forever, resulting in ever growing memory usage. Use with care.
347 * Add "no_remote_lock" option to disable remote file locking even
348 if the filesystem implements it. With this option locking
349 primitives (flock, lockf, fcntl(F_SETLK)) will still work, but
350 will ignore remotely locked files.
352 * CUSE patches from Tejun Heo:
354 * Unrestricted ioctl support left some debris. Clean them up:
355 o No reason to pass around pointer to flags. Pass flags directly.
356 o Clean up comment and prototype parameter names.
357 o fuse_lib_ioctl() didn't reply when get_path() failed. Fix it.
358 o Remove unused variables {in|out}_iov from fuse_lib_ioctl().
360 * Add fuse_reply_ioctl_iov()
362 * Move fuse_session, fuse_req and fuse_ll definitions to fuse_i.h
363 and make send_reply_iov() and fuse_setup_common() global (also in
364 fuse_i.h). These will be used by CUSE support.
366 * Restructure fuse_ll_process()
368 * Implement libfuse side of CUSE support. CUSE uses subset of FUSE
369 operations as dir operations don't make sense for CUSE where one
370 instance implements single character device.
372 CUSE support comes with its own cuse_lowevel_ops and related
373 initialization and helper functions. Except for initialization, it
374 usage is basically identical to FUSE.
376 This patch also adds example/cusexmp.c which can create a character
377 device with name and device number specified on command line. The
378 created device itself is pretty boring. It's a bit bucket supporting
379 read, write and access via ioctl.
381 2009-06-16 Miklos Szeredi <miklos@szeredi.hu>
383 * Add missing fuse_reply_bmap to versionscript. Debian
384 Bug#531329. Reported by Goswin Brederlow
386 2009-05-27 Miklos Szeredi <miklos@szeredi.hu>
388 * Don't call forget_node() if the lookup was negative and write()
389 for the reply returned ENOENT. Reported by John Haxby
391 2009-05-25 Miklos Szeredi <miklos@szeredi.hu>
393 * Add FUSE_CAP_EXPORT_SUPPORT to fuse_common.h
395 2009-05-08 Miklos Szeredi <miklos@szeredi.hu>
397 * Fix missing newlines in some printfs
399 * Fix 'make install-strip'. Reported by Dominick Layfield
401 2009-01-05 Miklos Szeredi <miklos@szeredi.hu>
403 * Released 2.8.0-pre2
405 2008-12-08 Miklos Szeredi <miklos@szeredi.hu>
407 * Implement poll support. Patch by Tejun Heo
409 * Add missing setattr flags to <fuse_lowlevel.h>.
411 * Only pass valid flags to ->setattr().
413 2008-12-05 Miklos Szeredi <miklos@szeredi.hu>
415 * Implement ioctl support. On high level interface only
416 "restricted" ioctls are supported (which are defined with the
417 _IO(), _IOR(), _IOW() or _IOWR() macros). Unrestricted ioctls
418 will only be allwed to CUSE (Character Device in Userspace)
419 servers. Patch by Tejun Heo
421 2008-11-28 Miklos Szeredi <miklos@szeredi.hu>
423 * If open sets fi->nonseekable, libfuse will tell the kernel that
424 the file is not seekable. Patch by Tejun Heo
426 2008-11-19 Miklos Szeredi <miklos@szeredi.hu>
428 * lowlevel lib: fix deadlock if fuse_reply_* is called from the
429 interrupt handling function. Reported by Tero Marttila
431 2008-10-16 Miklos Szeredi <miklos@szeredi.hu>
433 * Allow commas in options to be escaped with a backslash
435 * Add new function: fuse_opt_add_opt_escaped()
437 * Add missing fuse_reply_bmap() to the version script
439 2008-10-14 Miklos Szeredi <miklos@szeredi.hu>
441 * Pass current file flags to read and write operations
443 2008-07-24 Miklos Szeredi <miklos@szeredi.hu>
445 * Clean up debug output in highlevel lib
447 2008-07-10 Miklos Szeredi <miklos@szeredi.hu>
449 * Released 2.8.0-pre1
451 2008-06-27 Miklos Szeredi <miklos@szeredi.hu>
453 * Fix handling of (no)suid and (no)dev options if filesystem is
454 mounted from /etc/fstab or via mount(8). Reported by Jan Ondrej.
456 * Skip calling mount(8) if /etc/mtab doesn't exist or if it's on a
457 read-only filesystem. This works around issues with certain mount
458 implementations. Reported by Szabolcs Szakacsits.
460 2008-06-16 Miklos Szeredi <miklos@szeredi.hu>
462 * Remove fuse kernel module sources. Linux 2.6.27 will support
465 2008-06-10 Miklos Szeredi <miklos@szeredi.hu>
467 * Fix theoretical infinite loops in libfuse. Reported by Szabolcs
470 * Fix missing <sys/param.h> include for PATH_MAX. Reported by
473 2008-05-23 Miklos Szeredi <miklos@szeredi.hu>
475 * Fix mounting over symlink. Reported by Szabolcs Szakacsits
477 2008-05-09 Miklos Szeredi <miklos@szeredi.hu>
479 * Don't allow bigger than 4kB writes by default on 2.6.26 and
480 later kernels, so that filesystems not expecting this are not
481 broken on a kernel upgrade. Provide a 'big_writes' mount option
482 to enable this feature. In future API revisions this may become
485 2008-04-09 Miklos Szeredi <miklos@szeredi.hu>
487 * Update warning message for missing newline at end of fuse.conf
489 * Update debug message for successful operation to not include the
492 2008-04-08 Miklos Szeredi <miklos@szeredi.hu>
494 * Update error message for missing mountpoint parameter. Reported
497 2008-04-04 Miklos Szeredi <miklos@szeredi.hu>
499 * Print library version information to debug output
501 * Highlevel lib: don't limit paths to 4095 characters
503 2008-03-25 Miklos Szeredi <miklos@szeredi.hu>
505 * Fix memory leaks on mount. Patch by Szabolcs Szakacsits
507 2008-03-19 Miklos Szeredi <miklos@szeredi.hu>
509 * Fix missing pthread_mutex_destroy in error path of
510 fuse_lib_opendir(). Patch by Szabolcs Szakacsits
512 2008-03-07 Miklos Szeredi <miklos@szeredi.hu>
514 * Add queuing on contention to per-node lock algorithm, to avoid
517 * Only enable cancelation when reading a request, otherwise
518 cancellation could happen with a mutex held, which could hang the
521 2008-02-08 Miklos Szeredi <miklos@szeredi.hu>
523 * Block SIGCHLD when executing mount and umount
525 * fusexmp_fh: avoid unnecessary seeking in readdir
527 * Update kernel interface to 7.9:
529 * Support receiving file handle from kernel in GETATTR request
531 * Allow operations with a NULL path argument, if the filesystem
534 * Add support atomic open(O_TRUNC)
536 * Support the st_blksize field in struct stat
538 * If the "FUSE_THREAD_STACK" environment is set, initialize the
539 stack size of threads by this value. Patch by Florin Malita
541 * Add per-node locking, instead of a global tree lock to protect
542 the path from changing during operations. Original patch by
545 2008-02-03 Csaba Henk <csaba.henk@creo.hu>
548 - string formatting fixes
549 - exit if mounting has failed
550 (in FreeBSD a mount failure is not critical per se, as the daemon
551 still could be mounted externally, but waiting for such an event
552 is more confusing than fruitful)
553 - ditch the kvm(8) stuff and simply use forced unmount which just
555 - prettify option specifications
556 - add "-onosync_unmount" kernel option
558 2008-01-07 Csaba Henk <csaba.henk@creo.hu>
561 - refine device closing in a race-free way
562 - add support for "-osubtype" on FreeBSD
564 * makeconf.sh: make it work under FreeBSD
566 2008-01-03 Csaba Henk <csaba.henk@creo.hu>
568 * lib/mount_bsd.c: close device before unmount
569 (cf. lib/mount.c rev. 1.43) and fix some warnings
571 2007-12-23 Miklos Szeredi <miklos@szeredi.hu>
573 * Fix './configure --disable-static'. Patch from Ismail Dönmez
575 2007-12-17 Miklos Szeredi <miklos@szeredi.hu>
579 2007-12-12 Miklos Szeredi <miklos@szeredi.hu>
581 * Fix kernel module compile for 2.6.24
583 * Invalidate attributes of parent directory after create(), since
584 the modification time changes. Invalidate attributes on rename,
585 since some filesystems may update st_ctime. Reported by Szabolcs
588 * Fix NFS exporting to handle 64bit node IDs
590 * Disable old symbol versions if __UCLIBC__ is defined. If a
591 symbol in a library has multiple versions, the runtime linker in
592 uClibc seems to randomly choose between them.
594 * Remove erroneous 'fuse_opt_insert_arg@FUSE_2_5' from
595 fuse_version_script. fuse_opt_free_args() was added in fuse-2.6.
597 * Close fuse device file descriptor before calling umount(),
598 preventing a deadlock when umount is synchronous. Reported by
601 2007-11-12 Miklos Szeredi <miklos@szeredi.hu>
603 * 'fusermount -u' did not umount the filesystem if /etc/mtab was a
604 symlink. This bug was introduced in 2.7.1 by "Don't call
605 /bin/[u]mount if /etc/mtab is a symlink". Found by robertsong.
607 2007-10-16 Miklos Szeredi <miklos@szeredi.hu>
611 2007-10-16 Miklos Szeredi <miklos@szeredi.hu>
613 * Clarify licence version to be "LGPLv2" for the library
617 * After mount set nlink attribute for the root inode to 1
619 * Fix wake up of task waiting for a reserved request
621 * Fix allowing setattr, listxattr and statfs for other users
623 2007-09-18 Miklos Szeredi <miklos@szeredi.hu>
625 * Add missing context initialization in fuse_fs_chmod(). Bug
628 * Fix kernel module compilation for 2.6.23. Based on patch by
631 2007-09-04 Philippe Elie <phil.el@wanadoo.fr>
633 * lib/fuse_lowlevel.c: fix a fuse_req leak in do_forget()
635 2007-07-31 Miklos Szeredi <miklos@szeredi.hu>
637 * Work around hotplug issue, that it calls filesystem with file
638 descriptors 0, 1 and 2 not open. Tracked down by Leif Johnson
640 2007-07-25 Miklos Szeredi <miklos@szeredi.hu>
642 * Don't call /bin/[u]mount if /etc/mtab is a symlink. Reported by
645 * Also don't touch /etc/mtab if it is within the mounted
646 filesystem. Suggested by Jeffrey Law
648 2007-07-12 Miklos Szeredi <miklos@szeredi.hu>
650 * Reset args->argc in fuse_opt_free_args(). Patch by Lucas
653 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
657 2007-07-02 Miklos Szeredi <miklos@szeredi.hu>
659 * Accept a NULL "op" for fuse_main(), etc. This is useful if
660 filesystem is only invoking fuse to print a help message, or
661 version. Fixes RedHat bugzilla #217343
663 2007-06-22 Miklos Szeredi <miklos@szeredi.hu>
665 * lib: fix locking when loading a filesystem module
667 2007-06-21 Miklos Szeredi <miklos@szeredi.hu>
669 * Add fs subtype support to mount.fuse
671 2007-06-20 Miklos Szeredi <miklos@szeredi.hu>
673 * Add fs subtype support to libfuse and fusermount
675 2007-06-19 Miklos Szeredi <miklos@szeredi.hu>
677 * kernel: sync with mainline (2.6.22)
679 2007-06-18 Miklos Szeredi <miklos@szeredi.hu>
681 * Send debug output to stderr instead of stdout. Patch by Jan
684 2007-06-03 Miklos Szeredi <miklos@szeredi.hu>
686 * libulockmgr: Work around a kernel bug in recv(), causing it to
687 sometimes return zero even if data was available on the socket.
689 2007-05-29 Miklos Szeredi <miklos@szeredi.hu>
691 * lib: optimization: store parent pointer in node instead of
694 2007-05-25 Miklos Szeredi <miklos@szeredi.hu>
696 * lib: don't create new thread for each FORGET request. FORGET
697 messages sometimes caused so many threads to be created, that
698 process virtual memory space ran out. Reported by Chris AtLee
700 2007-05-24 Miklos Szeredi <miklos@szeredi.hu>
702 * lib: fix memory leak on thread creation failure in multithreaded
703 event loop. Found by Chris AtLee
705 2007-05-23 Miklos Szeredi <miklos@szeredi.hu>
707 * lowlevel lib: add fuse_reply_iov function, which is similar to
708 fuse_reply_buf, but accepts a vector of buffers. Patch by Roger
711 2007-05-21 Miklos Szeredi <miklos@szeredi.hu>
713 * Fix Oops or error if a regular file is created with mknod(2) on
714 a fuse filesystem. Kernels 2.6.18 onward are affected. Thanks to
715 J. Cameijo Cerdeira for the report
717 2007-05-11 Csaba Henk <csaba.henk@creo.hu>
719 * libfuse: fix return value of fuse_loop()/fuse_loop_mt().
720 Error reported by Csaba Henk, fix by Miklos Szeredi
722 * libfuse: fix unlock in flush
724 * libfuse: do unlocking on RELEASE+FLUSH
726 2007-05-03 Miklos Szeredi <miklos@szeredi.hu>
730 2007-05-02 Miklos Szeredi <miklos@szeredi.hu>
732 * kernel: sync with mainline:
734 * Use invalidate_mapping_pages() if available
736 * Fix BUG when invalid file type is supplied in mount. Patch by
739 2007-04-27 Miklos Szeredi <miklos@szeredi.hu>
741 * libfuse: call umount(8) directly instead of fusermount if
744 * Clean up init script, make it LSB compliant
746 2007-04-26 Miklos Szeredi <miklos@szeredi.hu>
748 * In multithreaded loop, use a semaphore instead of SIGHUP to wake
749 up the main thread on umount. This is more elegant, and works
750 even if signals are blocked.
752 2007-04-25 Miklos Szeredi <miklos@szeredi.hu>
754 * Improve mounting support in libfuse:
755 - check non-empty mountpoint
756 - only fall back to fusermount when necessary
758 2007-04-23 Miklos Szeredi <miklos@szeredi.hu>
760 * Don't chdir to "/" in foreground mode, it causes more trouble
763 2007-04-18 Miklos Szeredi <miklos@szeredi.hu>
765 * Replace utils/mount.fuse "sh" script with a "C" program
767 2007-04-15 Miklos Szeredi <miklos@szeredi.hu>
769 * Add -lulockmgr to compilation comment in fusexmp_fh.c
771 2007-04-05 Miklos Szeredi <miklos@szeredi.hu>
773 * Check for iconv. Patch by Csaba Henk
775 * Add direct umounting
777 * Use "fusectl" as the device for the fusectl filesystem. Debian
778 Bug#417945. Reported by Laurent Bonnaud
780 2007-04-01 Csaba Henk <csaba.henk@creo.hu>
782 * Fix some FreeBSD related macros.
784 2007-03-30 Miklos Szeredi <miklos@szeredi.hu>
786 * Add support for direct mounting by libfuse. Fall back on
787 calling fusermount if it doesn't work
789 2007-03-14 Miklos Szeredi <miklos@szeredi.hu>
791 * Released 2.7.0-pre1
793 2007-03-05 Miklos Szeredi <miklos@szeredi.hu>
795 * Correctly handle O_APPEND in direct IO mode. Reported by Greg
798 * mount.fuse should use /bin/bash. Debian Bug#413403. Reported
799 by Thomas Weinbrenner
801 2007-02-26 Miklos Szeredi <miklos@szeredi.hu>
803 * Fix detection of installed fuse in init script. Reported and
804 fix suggested by Davide Canova
806 2007-02-05 Miklos Szeredi <miklos@szeredi.hu>
808 * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
809 don't define mutex_destroy(), bummer. Patch from Phil Schwan
811 2007-02-04 Miklos Szeredi <miklos@szeredi.hu>
813 * Compile fuseblk for kernels which don't have an option to turn
814 off the block layer (CONFIG_BLOCK). Reported by Szakacsits
817 2007-02-03 Miklos Szeredi <miklos@szeredi.hu>
819 * Add filesystem stacking support to high level API. Filesystem
820 modules can be built into libfuse or loaded from shared object
823 * Add 'subdir' and 'iconv' built in modules
825 * lib/fuse.c: Fix locking for the reply code in create and open
827 2007-02-02 Miklos Szeredi <miklos@szeredi.hu>
829 * kernel: make it compile on "strange" kernels which have emulated
830 mutexes via <linux/mutex.h> but no i_mutex. Reported by Tomasz
833 2007-01-28 Miklos Szeredi <miklos@szeredi.hu>
835 * kernel: fix BUG in control filesystem if it is umounted and
836 mounted again, while some fuse filesystems are present.
837 Bugreport from Florent Mertens
839 * kernel: sync with mainline, support 2.6.20
841 2007-01-22 Miklos Szeredi <miklos@szeredi.hu>
843 * lib/Makefile.am: actually link libfuse against libfuse_libs
845 2007-01-19 Miklos Szeredi <miklos@szeredi.hu>
847 * Build fix for 2.6.16 vanila and 2.6.15 FC5 kernels. Patch from
850 2007-01-18 Miklos Szeredi <miklos@szeredi.hu>
852 * Fix abort in fuse_new() compatibility API for opts == NULL case.
853 Novell bugzilla #233870. Patch from Takashi Iwai.
855 2007-01-13 Miklos Szeredi <miklos@szeredi.hu>
857 * Fix option parsing in mount.fuse. Patch from Jens M. Noedler
859 2007-01-02 Miklos Szeredi <miklos@szeredi.hu>
861 * Fix unaligned access in file desctriptor passing in libfuse,
862 fusermount and ulockmgr. Debian bug ID: 404904. Reported and
863 tested by Sebastian Fontius
865 2006-12-16 Miklos Szeredi <miklos@szeredi.hu>
867 * kernel: don't keep unreferenced inodes in the icache.
869 2006-12-15 Miklos Szeredi <miklos@szeredi.hu>
871 * fusermount: Fix detection of fuseblk. Reported by Szakacsits
874 * lib: Fix use after free in fuse_flush(). Reported by Ron
877 2006-12-10 Miklos Szeredi <miklos@szeredi.hu>
879 * mount.fuse: add "setuid=USER" option which does a "su - USER"
882 * fusermount: use "/bin/mount -f" to add entry to /etc/mtab, and
883 "/bin/umount" to remove entry from /etc/mtab. This gets rid of
884 the ugly code dealing with mtab, as well as a possible race
885 between fusermount and mount trying to modify /etc/mtab at the
888 * Fix "buffer size too small: 4" warning for users of the
889 fuse_loop_mt_proc() function.
891 2006-12-04 Miklos Szeredi <miklos@szeredi.hu>
893 * Fix warnings with gcc-4.1 on 64bit archs. Report from
896 * Add extra warning options, and fix resulting warnings
898 * Really fix fuse_teardown problem
900 2006-12-02 Miklos Szeredi <miklos@szeredi.hu>
902 * Add -lrt to fuse.pc (if needed) to fix static linking against
903 libfuse. Reported by Szakacsits Szabolcs
905 2006-12-01 Miklos Szeredi <miklos@szeredi.hu>
909 2006-11-30 Miklos Szeredi <miklos@szeredi.hu>
911 * Fix API version 21 and 22 compatibility for fuse_teardown.
914 2006-11-29 Miklos Szeredi <miklos@szeredi.hu>
916 * fusermount: Print a more helpful message in case the kernel
917 doesn't support the 'fuseblk' filesystem type. This has been
918 biting ntfs-3g users. Reported by Yura Pakhuchiy
920 * kernel: fix build problem for "make -C ...". Reported by
923 2006-11-19 Miklos Szeredi <miklos@szeredi.hu>
925 * Fix bug in certain error paths of lookup routines. The request
926 object was reused for sending FORGET, which is illegal. This bug
927 could cause an Oops in linux-2.6.18 or in fuse-2.6.0, and might
928 silently corrupt memory in earlier versions. Report and test
931 2006-11-11 Miklos Szeredi <miklos@szeredi.hu>
933 * Print an error if an incompatible kernel interface version is
934 detected in INIT. This will only show if filesystem is started
937 * Fix order of fuse_destroy()/fuse_unmount() in error cleanup of
938 fuse_setup_common(). Reported by Szakacsits Szabolcs
940 2006-11-06 Miklos Szeredi <miklos@szeredi.hu>
942 * Fix recursive locking in fuse_create(). Thanks to Takuya
943 Ishibashi for the bug report
945 2006-10-28 Miklos Szeredi <miklos@szeredi.hu>
947 * Fix automake problem. Patch from Nix
949 2006-10-26 Miklos Szeredi <miklos@szeredi.hu>
951 * Fix mount.fuse to use /bin/sh instead of /bin/bash, which is not
952 always available on embedded systems. Patch from Paul Smith
954 * Fix util/Makefile.am, so that failure to run update-rc.d or
955 device creation doesn't cause make to fail. Reported by Paul
958 2006-10-21 Miklos Szeredi <miklos@szeredi.hu>
962 2006-10-18 Miklos Szeredi <miklos@szeredi.hu>
964 * fusermount: don't try to create a lock file if /etc/mtab is a
965 symlink. Report and patch from Alexei Sheplyakov (debian bug
968 2006-10-17 Miklos Szeredi <miklos@szeredi.hu>
970 * Minor changes, sync with mainline tree
972 2006-10-16 Miklos Szeredi <miklos@szeredi.hu>
976 2006-10-15 Miklos Szeredi <miklos@szeredi.hu>
980 2006-10-13 Miklos Szeredi <miklos@szeredi.hu>
982 * kernel: Fix compilation on patched 2.6.18 (fc6) and 2.6.19.
983 Report from David Shaw
985 * lib: Fix lost error on renaming a file. Report from David Shaw
987 * lib: Fix lost error on hiding open files (renaming to
990 * kernel: Fix a rare hang on SMP/32bit on heavy filesystem
991 activity. The cause of the bug was that some calls to
992 i_size_write() were not protected by a lock, and hence
993 i_size_seqcount could become corrupted. This caused subsequent
994 calls to i_size_read() to spin forever. This is a long standing
995 bug was probably introduced in version 2.2, and thought to be
996 related to NFS exporting (it's not). It was reported by various
997 people, but Dana Henriksen has finally helped me to track it down,
1000 * kernel: Protect against truncation of a swapfile
1002 2006-10-10 Miklos Szeredi <miklos@szeredi.hu>
1004 * kernel: Check for signature of super_operations->umount_begin().
1005 Ubuntu kernel 2.6.17 seems to use the new signature found in
1006 2.6.18. Thanks to Florent Mertens for the report
1008 2006-10-08 Miklos Szeredi <miklos@szeredi.hu>
1010 * Make sure inode numers wrap around at 2^32. This is needed on
1011 dual 64bit/32bit architectures, because 32bit applications using
1012 the non-largefile interface would otherwise break (EOVERFLOW error
1013 would be returned by the stat() system call family)
1015 * ulockmgr: handle the case, when a locking operation fails
1016 because no more file desctriptors are available in
1017 ulockmgr_server. Also work around a Linux kernel bug (known to
1018 exist for all Linux kernel versions <= 2.6.18) which may cause
1019 sent file descriptors to be lost in the above case
1021 * ulockmgr: optimize file descriptor use
1023 * restore needed cpp flags to util/Makefile.am
1025 * Install udev rules as 99-fuse.rules instead of 60-fuse.rules
1027 * Minor clean up of udev rules
1029 * Add a synchronous DESTROY message to kernel interface. This is
1030 invoked from umount, when the final instance of the filesystem is
1031 released. It is only sent for filesystems mounted with the
1032 'blkdev' option for security reasons.
1034 * If the DESTROY message is received, call the filesystem's
1035 ->destroy() method. In this case it's not called from session
1036 destruction as it would be otherwise.
1038 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
1040 * Released 2.6.0-rc2
1042 2006-10-01 Miklos Szeredi <miklos@szeredi.hu>
1044 * Add support for FLUSH+RELEASE operation for FreeBSD. Original
1047 * Add init script to insert fuse module and mount the control
1048 filesystem. The script is installed as /etc/init.d/fuse and on
1049 debian based systems (where update-rc.d is available) symlinks
1050 from /etc/rc*.d/ are also installed.
1052 * Include '#define FUSE_USE_VERSION=XX' into examples so they
1053 become more self contained.
1055 2006-09-30 Miklos Szeredi <miklos@szeredi.hu>
1059 * Move lock_owner from a separate argument into fuse_file_info
1061 * Add a flag to fuse_file_info indicating (1) a highlevel lock
1062 operation (unlock all) was initiated by a flush, (2) a lowlevel
1063 release operation should perform a flush as well.
1065 * fusermount: revert modprobe change (2006-08-18) since it
1066 doesn't work reliably with udev
1068 * Add support for block device backed filesystems. This mode is
1069 selected with the 'blkdev' option, which is privileged.
1071 * Add support for the bmap (FIBMAP ioctl) operation on block
1072 device backed filesystems. This allows swapon and lilo to work on
1077 * Drop support for kernels earlier than 2.6.9. Kernel module from
1078 previous (2.5.x) release can be used with library from this
1081 * In fuse_dentry_revalidate() use dget_parent() instead of
1082 dereferencing d_parent, since there's no protection against parent
1083 changing and going away
1085 * Protect nlookup from concurrent updates
1087 * In lookup if a directory alias exists but is unused,
1088 then get rid of it, otherwise return -EBUSY.
1090 * In mkdir if a directory alias exists, return success, but leave
1091 dentry negative. In reality this could happen if a remote rename
1092 immediately followed the mkdir.
1094 * Don't BUG in fuse_iget() if multiple retries are needed to get a
1095 good inode. This could happen if several lookups are racing for
1098 2006-09-29 Miklos Szeredi <miklos@szeredi.hu>
1100 * Fix compilation on 2.6.9. Report from Troy Ayers
1102 2006-09-27 Miklos Szeredi <miklos@szeredi.hu>
1104 * Fix Oops in fuse_readpages(). Reported by David Shaw
1106 2006-09-24 Csaba Henk <csaba.henk@creo.hu>
1108 * Add support for nanosec times on FreeBSD
1110 * Fix FreeBSD compatibility issues
1112 2006-09-23 Miklos Szeredi <miklos@szeredi.hu>
1114 * Fix one more compatibility bug. Thanks to Ricardo Correia
1116 * Fix utimens compilation with uClibc. Patch from Jamie Guinan
1118 2006-09-22 Miklos Szeredi <miklos@szeredi.hu>
1120 * Fixed several compatibility bugs in low level interface.
1121 Reported by Ricardo Correia
1123 * Add workaround for ARM caching bug
1125 2006-09-16 Miklos Szeredi <miklos@szeredi.hu>
1127 * Rename new utimes() method to more logical utimens()
1129 2006-09-14 Miklos Szeredi <miklos@szeredi.hu>
1131 * Fuse tried to unlink already unlinked hidden files. Bug
1132 reported by Milan Svoboda
1134 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
1136 * Released 2.6.0-rc1
1138 2006-09-10 Miklos Szeredi <miklos@szeredi.hu>
1140 * kernel: Fix unlock on close for kernels < 2.6.18
1142 * Add ulockmgr library & server. This can be used for handling
1143 file locking requests either directly from libfuse or over a
1144 network, etc. This first version is not optimized and the number
1145 of file descriptors it uses may get out of hand
1147 2006-09-07 Miklos Szeredi <miklos@szeredi.hu>
1149 * lib: Add interrupt support to high level library, which may be
1150 enabled with the 'intr' mount option.
1152 * When an operation is interrupted the thread handling that
1153 operation will receive SIGUSR1 (or other signal specified with the
1154 'intr_signal=N' option). The library installs a no-op signal
1155 handler for this signal, unless there's already a handler
1158 * The filesystem may query interrupt status (regardless of 'intr')
1159 with the fuse_interrupted() function.
1161 * mount.fuse: initialize $HOME if not set. Report from Sven Goldt
1163 2006-09-03 Miklos Szeredi <miklos@szeredi.hu>
1165 * lib: Multithreaded loop now allows unlimited number of threads.
1166 This is needed for locking operations which may block
1167 indefinitely. Also the kernel now doesn't limit the number of
1168 outstanding requests so the library shouldn't do so either.
1170 2006-09-01 Miklos Szeredi <miklos@szeredi.hu>
1172 * Fix recursive lock bug in interrupt handling
1174 * Add utimes() method to highlevel interface, which supports
1175 setting times with nanosecond resolution
1177 2006-08-18 Miklos Szeredi <miklos@szeredi.hu>
1179 * kernel: fix page leak if fuse_readpages() failed in it's
1180 initialization. Bug found and original patch from Alexander
1183 * For linux kernels >=2.6.18 (2.6.19 if using the fuse module from
1184 the kernel tree) the statfs method will receive the path within
1185 the filesystem on which the stat(v)fs syscall was called
1187 * fusermount: try to modprobe fuse module if invoked by root and
1188 unable to open device. This is needed with udev, since the device
1189 node will be created only when the module is inserted, hence
1190 module autoloading won't work. Reported by Szakacsits Szabolcs
1192 2006-07-30 Miklos Szeredi <miklos@szeredi.hu>
1194 * fusermount: if selinux is active, restore the original file's
1195 security context in unmount_rename(). Redhat bugzilla id 188561.
1196 Patch from Yves Perrenoud
1198 * Add POSIX file locking operation to high level library
1200 * Initialize context for unlink of hidden files on umount. Bug
1201 reported by Tim Stoakes
1203 2006-07-14 Miklos Szeredi <miklos@szeredi.hu>
1205 * Multiple release() calls can race with each other, resulting in
1206 the hidden file being deleted before the last release finishes.
1207 Bug found and patch tested by Mark Huijgen
1209 2006-07-05 Miklos Szeredi <miklos@szeredi.hu>
1211 * fusermount: if /dev/fuse doesn't exist, suggest modprobing fuse;
1212 this makes sense on systems using udev. Reported by Szakacsits
1215 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
1217 * Released 2.6.0-pre3
1219 2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
1221 * Support in kernel module for file locking and interruption. The
1222 same functionality is available in official kernels >= 2.6.18
1224 2006-06-28 Miklos Szeredi <miklos@szeredi.hu>
1226 * Add POSIX file locking support
1228 * Add request interruption
1230 2006-06-06 Miklos Szeredi <miklos@szeredi.hu>
1232 * Add missing pthread_rwlock_destroy(). Patch from Remy Blank
1234 2006-06-05 Remy Blank <remy.blank@pobox.com>
1236 * lib: canonicalize mount point in fuse_helper_opt_proc() so that
1237 unmounting succeeds even if mount point was relative.
1239 2006-06-04 Csaba Henk <csaba.henk@creo.hu>
1241 * lib: fix emergency umount in helper.c when malloc fails.
1242 (The way it was done would end up in a segfault.)
1244 2006-06-01 Csaba Henk <csaba.henk@creo.hu>
1246 * lib: adjust threading related compiler flags.
1247 Switch to "-pthread" from "-lpthread" as that's the preferred
1248 one on several platforms. Consulted with Terrence Cole and
1251 2006-05-08 Miklos Szeredi <miklos@szeredi.hu>
1253 * lib: search fusermount in installation directory (bindir) as
1256 2006-05-03 Miklos Szeredi <miklos@szeredi.hu>
1258 * lib: fix compilation if CLOCK_MONOTONIC is not defined.
1259 Reported by Christian Magnusson
1261 2006-04-23 Csaba Henk <csaba.henk@creo.hu>
1263 * lib: make FreeBSD mount routine recognize if kernel features
1264 backgrounded init and if it does, run the mount util in foreground
1265 (similarly to Linux)
1267 2006-04-21 Miklos Szeredi <miklos@szeredi.hu>
1269 * kernel: fix fput deadlock fix, the lockless solution could lead
1270 to "VFS: busy inodes after umount..."
1272 * kernel: fix race between checking and setting file->private_data
1273 for the device. Found by Al Viro
1275 2006-04-11 Miklos Szeredi <miklos@szeredi.hu>
1277 * kernel: remove request pool, instead allocate requests on
1278 demand. Account the number of background requests, and if they go
1279 over a limit, block the allocation of new requests.
1281 * kernel: fix deadlock if backgrounded request holds the last
1282 reference to the super block
1284 * kernel: don't use fuse_reset_request() during direct I/O
1286 2006-04-06 Csaba Henk <csaba.henk@creo.hu>
1288 * lib: Let FreeBSD mount option parsing routine recognize "no"
1289 prefixes for FUSE specific options as well
1291 2006-04-01 Miklos Szeredi <miklos@szeredi.hu>
1293 * lib: Add missing rwlock initialization. Patch by Ryan Bradetich
1295 2006-03-17 Miklos Szeredi <miklos@szeredi.hu>
1299 * fuse_main(), fuse_setup() and fuse_new() have an additionl
1302 * fuse_mount() returns a 'struct fuse_chan' pointer instead of a
1305 * fuse_unmount() receives a 'struct fuse_chan' pointer. It
1306 destroys the given channel
1308 * fuse_teardown() no longer has a file descriptor parameter
1310 * new exported functions: fuse_session_remove_chan(),
1311 fuse_get_session(), fuse_daemonize()
1313 * fuse_chan_recv() may now return a new channel which will be used
1316 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
1318 * Released 2.6.0-pre2
1320 2006-03-16 Miklos Szeredi <miklos@szeredi.hu>
1322 * Don't unmount if already unmounted. This fixes a problem seen
1323 in the following situation: Lazy unmount a busy filesystem; Mount
1324 a new one in top; When the first finally unmounts, the second also
1325 unmounts. Reported by Franco Broi
1327 2006-03-15 Miklos Szeredi <miklos@szeredi.hu>
1329 * lowlevel lib: use indirect function calls instead of a
1330 switch/case construct. Besides increased efficiency it helps
1331 maintainability & readability too. Patch from Florin Malita
1333 2006-03-13 Miklos Szeredi <miklos@szeredi.hu>
1335 * kernel: replace global spinlock with a per-connection spinlock
1337 2006-03-10 Miklos Szeredi <miklos@szeredi.hu>
1339 * Fix source compatibility breakage for fuse_unmount(). Report
1342 2006-03-02 Miklos Szeredi <miklos@szeredi.hu>
1344 * Fix O_ASYNC handling in fuse_dev_release(). From Jeff Dike
1346 2006-03-01 Miklos Szeredi <miklos@szeredi.hu>
1348 * Add O_ASYNC and O_NONBLOCK support to FUSE device. Patch by
1351 * Renamed fuse_chan_receive() to fuse_chan_recv() and changed
1352 interface to return -errno in case of error.
1354 2006-03-01 Csaba Henk <csaba.henk@creo.hu>
1356 * libfuse: pass device file descriptor to fuse_unmount(), rewrite
1357 FreeBSD implementation so that it uses libc (sysctl backed) instead
1358 of an embdedded script (kmem backed). Adjust the control flow of
1359 hello_ll so that device doesn't get closed before unmount attempt.
1361 2006-02-25 Miklos Szeredi <miklos@szeredi.hu>
1363 * Lowlevel lib: return all-zero statvfs data if filesystem doesn't
1364 implement method. This is needed on FreeBSD, and nicer on Linux
1365 too. Highlevel lib already did this. Reported by Csaba Henk
1367 * Fix negative entry handling. There was a bug, that negative
1368 lookups with timeouts (nodeid == 0) returned -EIO.
1370 2006-02-23 Miklos Szeredi <miklos@szeredi.hu>
1372 * Fix race between RELEASE and UNLINK, which might leave
1373 .fuse_hidden* files around
1375 2006-02-21 Miklos Szeredi <miklos@szeredi.hu>
1377 * fusexmp_fh: implement flush() method and call close() on the
1378 open file descriptor. This is needed if used on an NFS
1379 filesystem, which buffers data until file is closed. Franco Broi
1380 spotted the situation when 'cp -p' failed to set the modification
1381 time because of this.
1383 2006-02-20 Miklos Szeredi <miklos@szeredi.hu>
1385 * Released 2.6.0-pre1
1387 2006-02-19 Miklos Szeredi <miklos@szeredi.hu>
1389 * libfuse: fix use-after-free bug in interruptred reply_entry().
1390 Patch from John Muir
1392 * libfuse: fix wrong symbol versioning for fuse_mount. Debian bug
1393 ID: 352631. Found by Stéphane Rosi
1395 2006-02-17 Miklos Szeredi <miklos@szeredi.hu>
1397 * Lowlevel lib: Unify fuse_dirent_size() and fuse_add_dirent()
1398 into a single function fuse_add_direntry(). This cleans up the
1399 interface and makes it possible to do stacking.
1401 2006-02-16 Miklos Szeredi <miklos@szeredi.hu>
1403 * Fix rare race betweeen abort and release caused by failed iget()
1404 in fuse_create_open().
1406 * Add 'ac_attr_timeout' option e.g. for filesystems which do their
1407 own attribute caching.
1409 2006-02-15 Miklos Szeredi <miklos@szeredi.hu>
1411 * Work around FreeBSD runtime linker "feature" which binds an old
1412 version of a symbol to internal references if the symbol has more
1413 than one version. This resulted in infinite recursion in
1414 fuse_lowlevel_new_compat25().
1416 2006-02-10 Csaba Henk <csaba.henk@creo.hu>
1418 * Refine clock_gettime() querying so that linker options
1419 shall be set as it's appropriate for the target platform.
1421 2006-02-09 Miklos Szeredi <miklos@szeredi.hu>
1423 * Fix udev rule syntax. Reported by Nix
1425 2006-02-08 Miklos Szeredi <miklos@szeredi.hu>
1427 * In some cases udev rule seems to be ineffective when installed
1428 as 40-fuse.rules but work as 60-fuse.rules. Reported by John Hunt
1430 2006-02-03 Miklos Szeredi <miklos@szeredi.hu>
1432 * Fix compilation when build directory is different from source
1433 directory. Reported by Frédéric L. W. Meunier
1435 2006-02-02 Miklos Szeredi <miklos@szeredi.hu>
1437 * Fix even bigger bug introduced in fix for request_end() on
1438 2006-01-14. Reported by Gal Rosen
1440 2006-01-30 Miklos Szeredi <miklos@szeredi.hu>
1442 * highlevel-lib: add 'auto_cache' option. This caches file data
1443 based on modification time and size
1445 2006-01-20 Miklos Szeredi <miklos@szeredi.hu>
1447 * Sanitize storage type and help message in mount_bsd.c. Patch
1450 * fuse_opt: add new helper constants FUSE_OPT_KEY_KEEP and
1451 FUSE_OPT_KEY_DISCARD
1453 * Add options 'max_readahead', 'sync_read' and 'async_read'
1455 * Kernel ABI version 7.6:
1457 * Negotiate the 'max_readahead' value and 'async_read' flags with
1458 userspace in the INIT method
1460 * Add connection info to ->init() methods to both lowlevel and
1463 * Fall back to synchronous read() behavior if either library or
1464 userspace filesystem is using the old interface version. This is
1465 needed so non-updated filesystems won't be confused by the
1466 different read() behavior
1468 2006-01-19 Miklos Szeredi <miklos@szeredi.hu>
1470 * lib: if "fsname=" option was given, pass it to fusermount
1472 * fuse_opt: add new fuse_opt_insert_arg() function, which is
1473 needed by filesystems to implement some argument manipulations
1476 * fuse_opt: fix memory leak in handling "--" option
1478 2006-01-18 Miklos Szeredi <miklos@szeredi.hu>
1480 * kernel: fix detection of case when fuse is not configured into
1481 the kernel either as module or built-in
1483 * fuse_opt.h: fix incompatibility with C++ compilers by renaming
1484 'template' structure member to 'templ'. Reported by Takashi Iwai
1486 * fuse.h: fix compatibility bugs. Patch by Yura Pakhuchiy
1488 * kernel: support version 2.6.16 (i_sem -> i_mutex)
1490 2006-01-16 Miklos Szeredi <miklos@szeredi.hu>
1492 * Added (again) asynchronous readpages support
1494 * Each connection now shows up under /sys/fs/fuse/connections
1496 * Connection attributes exported to sysfs: 'waiting' number of
1497 waiting requests; 'abort' abort the connection
1499 * Connection may be aborted through either the sysfs interface or
1500 with 'umount -f mountpoint'
1502 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
1506 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
1508 * kernel: fix a couple of bugs
1510 * Order of request_end() and fuse_copy_finish() was wrong.
1511 Posthumous note: Franco Broi managed to exploit this, though it
1512 seemed quite impossible
1514 * request_end() used request pointer after decrementing refcount
1516 * Clearing ->connected or ->mounted connection flags could race
1517 with setting other bitfields not protected with a lock
1519 2006-01-10 Miklos Szeredi <miklos@szeredi.hu>
1521 * kernel: add necessary compile flags for 2.4.X/x86_64.
1522 Report from Sean Ziegeler
1524 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
1526 * Released 2.5.0-pre2
1528 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
1530 * Applied patch from Csaba Henk, to update mount_bsd to new
1531 fuse_mount() semantics
1533 * Ignore auto,noauto,... options in mount.fuse. Reported by Frank
1534 Steiner and Don Taber
1536 * fusermount: add 'dirsync' mount option
1538 2006-01-07 Miklos Szeredi <miklos@szeredi.hu>
1540 * Improved help reporting and added version reporting to library
1542 2006-01-06 Miklos Szeredi <miklos@szeredi.hu>
1544 * Change working directory to "/" even if running in the
1545 foreground. Patch from Jonathan Brandmeyer
1547 * Changed lots of functions to use 'struct fuse_args' instead of
1548 separate argc and argv
1550 * Added fuse_parse_cmdline(), fuse_set_signal_handlers() and
1551 fuse_remove_signal_handlers() functions, so that it's now pretty
1552 easy to get all the functionality of fuse_main() with a filesystem
1553 using the lowlevel API.
1555 2006-01-02 Miklos Szeredi <miklos@szeredi.hu>
1557 * mount.fuse: the 'user' option should be ignored. Report and
1558 solution from Mattd.
1560 * mount.fuse: export PATH in the right place. Report and patch
1561 from Hannes Schweizer
1563 2005-12-16 Miklos Szeredi <miklos@szeredi.hu>
1565 * Clean up the option parsing interface slightly, by creating an
1566 "argument list" structure, that contains the argument vector and
1569 2005-12-15 Miklos Szeredi <miklos@szeredi.hu>
1571 * fusermount: check if /mnt/mtab is a symlink and don't modify it
1574 * kernel: simplify request size limiting. INIT only contains
1575 maximum write size, maximum path component size remains fixed at
1576 1024 bytes, and maximum xattr size depends on read buffer.
1578 2005-12-14 Miklos Szeredi <miklos@szeredi.hu>
1580 * Fix readdir() failure on x86_64, of 32bit programs compiled
1581 without largefile support. Bug report and help from Anthony
1584 * If lookup returns invalid mode, return -EIO instead of creating
1587 * Add current output argument vector to option processing
1590 2005-12-12 Miklos Szeredi <miklos@szeredi.hu>
1592 * Fix stale code in ifdef FreeBSD. Patch from Csaba Henk
1594 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
1596 * Released 2.5.0-pre1
1598 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
1600 * libfuse: added option parsing interface, defined in
1603 2005-12-07 Miklos Szeredi <miklos@szeredi.hu>
1605 * Return EIO for file operations (read, write, fsync, flush) on
1606 open files whose inode has become "bad". Inodes will be marked
1607 "bad" if their type changes. Bug report by Csaba Henk
1609 2005-12-06 Miklos Szeredi <miklos@szeredi.hu>
1611 * Use bigger request buffer size. write() did not work on archs
1612 with > 4k page size, Bug report by Mark Haney
1616 * Extend INIT reply with data size limits
1618 2005-12-02 Miklos Szeredi <miklos@szeredi.hu>
1620 * Fix memory leak in fuse_read_cmd()/fuse_process_cmd(). Bug
1621 reported by Vincenzo Ciancia
1623 * Handle exit-by-umount in fuse_read_cmd()
1625 2005-11-29 Miklos Szeredi <miklos@szeredi.hu>
1627 * Check if '-msoft-float' option is supported by compiler when
1628 configuring for a 2.4.x kernel. Bug report by Mark Haney
1630 * In multithreaded loop send a TERM signal to the main thread if
1631 one of the other threads exit. Needed on FreeBSD for a clean exit
1632 on umount. Should not cause any harm on Linux either
1634 2005-11-28 Miklos Szeredi <miklos@szeredi.hu>
1636 * Fix bug in 32-bit file handle compatibility
1638 2005-11-27 Miklos Szeredi <miklos@szeredi.hu>
1640 * Block TERM, INT, HUP and QUIT signals in all but the main
1641 thread. According to POSIX it's not specified which thread will
1642 receive these signals.
1646 * Check for directory aliasing on mkdir, not just on lookup
1648 * Check for special node ID values in create+open operation
1650 * Sync with -mm: readv, writev, aio_read and aio_write methods
1651 added to file operations
1653 * Cleanups: lookup code, page offset calculation
1655 * ABI stepped to 7.4, changes:
1657 * frsize member added to fuse_kstatfs structure
1659 * added support for negative entry caching: on lowlevel API if
1660 fuse_entry_param::ino is set to zero in reply to a lookup request,
1661 the kernel will cache the dentry for the specified amount of time.
1663 * libfuse: added 'negative_timeout' option: specifies how much
1664 negative entries should be cached. Default is zero, to be
1665 compatible with prior versions
1667 2005-11-22 Miklos Szeredi <miklos@szeredi.hu>
1669 * Add detection of mainline FUSE code in running kernel
1671 2005-11-21 Miklos Szeredi <miklos@szeredi.hu>
1673 * Don't use async cancelation in multithreaded loop. This makes
1674 it more portable to systems where read() is not async cancel safe.
1675 Report from Andriy Gapon
1677 2005-11-20 Miklos Szeredi <miklos@szeredi.hu>
1679 * Warn if API version 11 compatibility is requested
1681 2005-11-17 Miklos Szeredi <miklos@szeredi.hu>
1683 * More FreeBSD merge
1685 * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in
1686 them, because it corrupts /etc/mtab. Found by Thomas Biege
1689 * libfuse: don't use system() to invoke 'fusermount -u ...'
1690 because it breaks mountpoints with spaces in them into multiple
1693 2005-11-16 Miklos Szeredi <miklos@szeredi.hu>
1695 * Merge library part of FreeBSD port. Patch by Csaba Henk
1697 2005-11-11 Miklos Szeredi <miklos@szeredi.hu>
1699 * Use 64bit type for file handle, so the full range supported by
1700 the kernel interface is available to applications
1702 2005-11-10 Miklos Szeredi <miklos@szeredi.hu>
1704 * Moved mountpoint argument checking from fuse_parse_cmdline() to
1705 fuse_mount() in preparation to FreeBSD merge.
1707 2005-11-08 Miklos Szeredi <miklos@szeredi.hu>
1709 * Remove unneeded close() from fuse_teardown(). Spotted by Csaba
1712 2005-11-07 Miklos Szeredi <miklos@szeredi.hu>
1714 * Make the statfs change backwards compatible.
1716 2005-11-06 Miklos Szeredi <miklos@szeredi.hu>
1718 * Change ->statfs() method to use 'struct statvfs' instead of
1719 'struct statfs'. This makes the API more portable since statvfs()
1720 is defined by POSIX.
1722 2005-10-28 Miklos Szeredi <miklos@szeredi.hu>
1724 * Add fgetattr() method, which currently will only be called after
1725 a successful call to a create() method.
1727 2005-10-26 Miklos Szeredi <miklos@szeredi.hu>
1729 * Change kernel ABI version to 7.3
1731 * Add ACCESS operation. This is called from the access() system
1732 call if 'default_permissions' mount option is not given, and is
1733 not called on kernels 2.4.*
1735 * Add atomic CREATE+OPEN operation. This will only work with
1736 2.6.15 (presumably) or later Linux kernels.
1738 * Add ftruncate() method. This will only work with 2.6.15
1739 (presumably) or later Linux kernels.
1741 * Fix kernel module compile if kernel source and build directories
1742 differ. Report and initial patch by John Eastman
1744 2005-10-18 Miklos Szeredi <miklos@szeredi.hu>
1746 * lib: optimize buffer reallocation in fill_dir.
1748 2005-10-17 Miklos Szeredi <miklos@szeredi.hu>
1752 2005-10-14 Miklos Szeredi <miklos@szeredi.hu>
1754 * libfuse: add debug for write result (by Shaun Jackman) and
1755 warnings for too large read/write result
1757 2005-10-11 Miklos Szeredi <miklos@szeredi.hu>
1759 * Spelling fixes, thanks to Ioannis Barkas
1761 2005-10-10 Miklos Szeredi <miklos@szeredi.hu>
1763 * fuse_common.h: use extern "C". Thanks to Valient Gough for the
1766 2005-10-07 Miklos Szeredi <miklos@szeredi.hu>
1768 * highlevel-lib: init() and destroy() methods didn't have an
1769 initialized fuse_context. Bug reported by Tim Stoakes
1771 2005-10-04 Miklos Szeredi <miklos@szeredi.hu>
1775 2005-10-03 Miklos Szeredi <miklos@szeredi.hu>
1777 * Add documentation to fuse_lowlevel.h
1781 * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME
1783 * Move fuse_mount() and fuse_unmount() to fuse_common.h
1785 * Change the return type of fuse_reply_none() from int to void.
1787 2005-09-30 Miklos Szeredi <miklos@szeredi.hu>
1789 * kernel: NFS exporting leaked dentries. Bug found and fixed by
1792 2005-09-29 Miklos Szeredi <miklos@szeredi.hu>
1794 * fusermount: fix error message, when unable to open /dev/fuse.
1795 Report by Balázs Pozsár
1797 2005-09-28 Miklos Szeredi <miklos@szeredi.hu>
1799 * UClibc fixes from Christian Magnusson
1801 2005-09-27 Miklos Szeredi <miklos@szeredi.hu>
1803 * Added NAME="%k" to util/udev.rules. Fix by Mattias Wadman.
1805 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
1807 * Released 2.4.0-rc1
1809 2005-09-26 Miklos Szeredi <miklos@szeredi.hu>
1811 * fusermount: allow user umount in the case when /etc/mtab is a
1812 symlink to /proc/mounts. Reported by Balázs Pozsár.
1814 2005-09-23 Miklos Szeredi <miklos@szeredi.hu>
1816 * Check for special node ID values in lookup and creation
1818 2005-09-22 Miklos Szeredi <miklos@szeredi.hu>
1820 * Slight optimization in returning EINVAL error in case of an open
1823 2005-09-20 Miklos Szeredi <miklos@szeredi.hu>
1825 * Remove '--enable-auto-modprobe' configure flag. Module
1826 auto-loading is now handled by the kernel.
1828 2005-09-15 Miklos Szeredi <miklos@szeredi.hu>
1830 * Install UDEV rule file, so /dev/fuse is created with mode 0666.
1831 Help from Jens M. Noedler.
1833 2005-09-14 Miklos Szeredi <miklos@szeredi.hu>
1835 * Add memory cleanup on thread exit
1837 2005-09-13 Miklos Szeredi <miklos@szeredi.hu>
1839 * Set umask to zero in fusexmp and fusexmp_fh, so that
1840 files/directories are created with the requested mode.
1842 2005-09-12 Miklos Szeredi <miklos@szeredi.hu>
1844 * Don't ignore read error in multithreaded loop
1846 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
1848 * Released 2.4.0-pre2
1850 2005-09-08 Miklos Szeredi <miklos@szeredi.hu>
1852 * Revert lock and access operations. Postpone these until 2.5.
1854 2005-09-02 Miklos Szeredi <miklos@szeredi.hu>
1856 * Fix compile warning on 2.6.13 and later
1858 * Fix compilation on old kernels
1860 2005-08-19 Miklos Szeredi <miklos@szeredi.hu>
1862 * lib: always refresh directory contents after rewinddir() to
1863 conform to SUS. Bug found by John Muir.
1865 2005-08-15 Miklos Szeredi <miklos@szeredi.hu>
1867 * Released 2.4.0-pre1
1869 2005-08-14 Miklos Szeredi <miklos@szeredi.hu>
1871 * lib: cleaned up (or messed up, depending on your POV) the low
1872 level library API. Hopefully this is close to the final form.
1874 2005-08-05 Miklos Szeredi <miklos@szeredi.hu>
1876 * fusermount: don't allow empty mountpoint argument, which defeats
1877 automatic umounting in fuse_main(). Bugreport by Václav Jůza
1879 2005-08-03 Miklos Szeredi <miklos@szeredi.hu>
1881 * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler
1882 option is used (Paul Alfille).
1884 2005-08-02 Miklos Szeredi <miklos@szeredi.hu>
1886 * highlevel-lib: added mount options "attr_timeout" and
1887 "entry_timeout". These options control the length of time file
1888 attributes and entries (names) are cached. Both default to 1.0
1891 * kernel: correctly handle zero timeout for attributes and entries
1893 2005-08-01 Miklos Szeredi <miklos@szeredi.hu>
1895 * Added missing symbols to versionscript (Joshua J. Berry)
1897 * kernel: implement two flags, open can set: 'direct_io' and
1898 'keep_cache'. These correspond exactly to mount options
1899 'direct_io' and 'kernel_cache', but allow a per-open setting.
1901 * Move 'direct_io' and 'kernel_cache' mount option handling to
1902 userspace. For both mount options, if the option is given, then
1903 the respective open flag is set, otherwise the open flag is left
1904 unmodified (so the filesystem can set it).
1906 * lib (highlevel): make open method optional
1908 2005-07-28 Miklos Szeredi <miklos@szeredi.hu>
1910 * kernel: invalidate attributes for read/readdir/readlink
1913 * kernel: detect newer UML kernels
1915 2005-07-26 Miklos Szeredi <miklos@szeredi.hu>
1917 * Make the installation path of fuse.ko and mount.fuse
1918 configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH
1919 environment variables. Requirement and help from Csaba Henk.
1921 2005-07-22 Miklos Szeredi <miklos@szeredi.hu>
1923 * Fix bug, that causes filesystem requests to hang when unique
1924 request counter becomes negative. This happens after
1925 2,147,483,648 operations, so most people won't care. Thanks to
1926 Franco Broi for the report and testing.
1928 2005-07-21 Miklos Szeredi <miklos@szeredi.hu>
1930 * Don't change mtime/ctime/atime to local time on read/write.
1931 Bug reported by Ben Grimm
1933 * Install fuse_common.h and fuse_lowlevel.h. Report by Christian
1936 * fusermount: use getopt_long() for option parsing. It allows the
1937 use of '--' to stop argument scanning, so fusermount can now
1938 operate on directories whose names begin with a '-'. Patch by
1941 2005-07-15 Miklos Szeredi <miklos@szeredi.hu>
1943 * fusermount: add '-v', '--version' and '--help' options
1945 * add inode based API
1947 2005-07-12 Miklos Szeredi <miklos@szeredi.hu>
1949 * lib: don't block signals in worker threads. Problem noticed by
1952 2005-07-07 Miklos Szeredi <miklos@szeredi.hu>
1954 * lib: don't allow both 'allow_other' and 'allow_root' options to
1957 2005-07-06 Miklos Szeredi <miklos@szeredi.hu>
1959 * fusermount: check if mountpoint is empty (only '.' and '..' for
1960 directories, and size = 0 for regular files). If "nonempty"
1961 option is given, omit this check. This is useful, so users don't
1962 accidentally hide data (e.g. from backup programs). Thanks to
1963 Frank van Maarseveen for pointing this out.
1965 * kernel: check if mandatory mount options ('fd', 'rootmode',
1966 'user_id', 'group_id') are all given
1968 * lib: simplify 'readdir_ino' handling
1970 * lib: add mount options 'umask=M', 'uid=N', 'gid=N'
1972 2005-07-03 Miklos Szeredi <miklos@szeredi.hu>
1974 * kernel: clean up 'direct_io' code
1976 2005-06-28 Miklos Szeredi <miklos@szeredi.hu>
1978 * Add 'mount.fuse' written by Petr Klima
1980 * '/dev/fuse' is created by 'make install' if does not yet exist
1982 2005-06-20 Miklos Szeredi <miklos@szeredi.hu>
1984 * Fix UCLIBC compile error. Patch by Christian Magnusson
1986 2005-06-08 Miklos Szeredi <miklos@szeredi.hu>
1988 * Enable the auto-loading of the module via access to the
1989 corresponding device file. Patch by Takashi Iwai.
1991 * Allow mounting a regular file (over a regular file) for
1994 * Do not create temporary device file. Require "/dev/fuse" to
1995 exist, and be readable/writable by the mounting user.
1997 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
2001 2005-06-02 Miklos Szeredi <miklos@szeredi.hu>
2003 * Fix serious information leak: if the filesystem returns a short
2004 byte count to a read request, and there are non-zero number of
2005 pages which are not filled at all, these pages will not be zeroed.
2006 Hence the user can read out previous memory contents. Found by
2009 2005-05-27 Miklos Szeredi <miklos@szeredi.hu>
2011 * Add "readdir_ino" mount option, which tries to fill in the d_ino
2012 field in struct dirent. This mount option is ignored if "use_ino"
2013 is used. It helps some programs (e.g. 'pwd' used over NFS from a
2014 non-Linux OS). Patch by David Shaw.
2016 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
2020 2005-05-12 Miklos Szeredi <miklos@szeredi.hu>
2022 * File save in krusader and other editors doesn't work with sshfs,
2023 because open() is interrupted by a periodic signal, and open()
2024 restarts forever, without any progress. This could just be fixed
2025 in open(), but the problem is more generic: if signals are
2026 received more often than the filesystem can get the request to
2027 userspace, it will never finish. This is probably only a
2028 theoretical problem, nevertheless I'm removing the possibility to
2029 interrupt requests with anything other than SIGKILL, even before
2030 being sent to userspace. Bugreport by Eduard Czimbalmos.
2032 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
2034 * libfuse: add "tree_lock" rwlock, that is locked for write in
2035 rename, unlink and rmdir, and locked for read in all other
2036 operations. This should fix the rename/release race reported by
2037 Valient Gough and others. The solution is very coarse, a finer
2038 grained locking scheme could be implemented, but it would be much
2039 more complex. Let's see whether this is good enough.
2041 2005-05-09 Miklos Szeredi <miklos@szeredi.hu>
2045 2005-05-08 Miklos Szeredi <miklos@szeredi.hu>
2047 * Better fix for out of order FORGET messages. Now the
2048 LOOKUP/FORGET messages are balanced exactly (one FORGET can
2049 balance many lookups), so the order no longer matters. This
2050 changes the kernel ABI slightly, but the library remains backward
2053 2005-05-06 Miklos Szeredi <miklos@szeredi.hu>
2055 * Fix abort for out of order FORGET messages. Again. Spotted by
2056 Franco Broi again. Sorry :)
2058 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
2062 2005-04-29 Miklos Szeredi <miklos@szeredi.hu>
2064 * Make fusermount work with fuse kernel modules not yet supporting
2065 the "group_id" option (added for the purpose of stricter
2066 permission checking).
2068 2005-04-28 Miklos Szeredi <miklos@szeredi.hu>
2070 * Check for hard-linked directories in lookup. This could cause
2071 problems in the VFS, which assumes that such objects never exist.
2073 * Make checking of permission for other users more strict. Now
2074 the same privilege is required for the mount owner as for ptrace
2075 on the process performing the filesystem operation.
2077 2005-04-23 Miklos Szeredi <miklos@szeredi.hu>
2081 2005-04-22 Miklos Szeredi <miklos@szeredi.hu>
2083 * Add -msoft-float to kernel module compile flags for 2.4.X. This
2084 is needed on certain architectures. Report from Chris Kirby
2086 * Fix buggy behavior of open(..., O_CREAT|O_EXCL) if interrupted.
2087 Reported by David Shaw
2089 * Remove "allow_root" option from kernel module, and implement
2090 it's functionality in the library
2092 * Fix Oops caused by premature release of fuse_conn. Clean up
2093 related code, to be more readable
2095 * Sendfile should not use page cache if "direct_io" mount option
2098 2005-04-08 Miklos Szeredi <miklos@szeredi.hu>
2100 * Fix Oops in case of nfs export. Spotted by David Shaw
2102 * Fix another Oops in case of write over nfs with direct_io turned
2103 on. Again spotted by David Shaw
2105 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
2109 2005-04-07 Miklos Szeredi <miklos@szeredi.hu>
2111 * lib: finalized new readdir() interface, which now supersedes the
2114 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
2118 2005-04-03 Miklos Szeredi <miklos@szeredi.hu>
2120 * Implement backward compatibility with version 5 kernel ABI
2122 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
2126 2005-04-01 Miklos Szeredi <miklos@szeredi.hu>
2128 * kernel: fix dirent offset handling
2130 * lib: add readdir and releasedir methods
2132 * lib: use fh field of fuse_file_info in opendir, readdir,
2133 releasedir and fsyncdir methods
2135 * lib: check kernel API version and bail out of it's old. This
2136 will be properly fixed in the next release
2138 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
2142 2005-03-31 Miklos Szeredi <miklos@szeredi.hu>
2144 * kernel API: add padding to structures, so 64bit and 32bit
2145 compiler will return the same size
2147 * kernel API: add offset field to fuse_dirent. This will allow
2148 more sophisticated readdir interface for userspace
2150 * kernel API: change major number to 6
2152 * kernel: fix warnings on 64bit archs
2154 * kernel: in case of API version mismatch, return ECONNREFUSED
2156 2005-03-24 Miklos Szeredi <miklos@szeredi.hu>
2158 * kernel: trivial cleanups
2160 2005-03-21 Miklos Szeredi <miklos@szeredi.hu>
2162 * Add fsyncdir() operation
2164 2005-03-19 Miklos Szeredi <miklos@szeredi.hu>
2166 * kernel: add locking to background list (fixes previous fix)
2168 2005-03-18 Miklos Szeredi <miklos@szeredi.hu>
2170 * kernel: fix bug which could cause leave busy inodes after
2173 2005-03-08 Miklos Szeredi <miklos@szeredi.hu>
2175 * examples: add -lpthread to link flags to work around valgrind
2178 * lib: don't exit threads, so cancelation doesn't cause segfault
2180 2005-03-04 Miklos Szeredi <miklos@szeredi.hu>
2182 * kernel: fix nasty bug which could cause an Oops under certain
2183 situations. Found by Magnus Johansson
2185 2005-02-28 Miklos Szeredi <miklos@szeredi.hu>
2187 * libfuse: added opendir() method. This can be used in case
2188 permission checking in getdir() is too late. Thanks to Usarin
2189 Heininga for pointing out this deficiency
2191 * libfuse: added init() and destroy() methods to fuse_operations
2193 * kernel: llseek() method for files and directories made explicit
2195 * kernel: fixed inode leak in NFS export in case of nodeid
2198 2005-02-15 Miklos Szeredi <miklos@szeredi.hu>
2200 * libfuse: clean up some unitialized memory found with valgrind
2202 * Add -lpthread to Libs in fuse.pc. Valgrind seems to need an
2203 explicitly linked libpthread for applications
2205 2005-02-10 Miklos Szeredi <miklos@szeredi.hu>
2207 * fusermount: set umask, otherwise /etc/mtab will have
2208 unpredictable permission. Spotted by Jindrich Kolorenc
2210 * fusermount: set owner and group of /etc/mtab to original values
2213 * libfuse: add 'use_ino' option to help. Patch by Valient Gough
2215 2005-02-07 Miklos Szeredi <miklos@szeredi.hu>
2217 * Cleaned up directory reading (temporary file is not used)
2219 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
2223 2005-02-02 Miklos Szeredi <miklos@szeredi.hu>
2225 * Fix possible race when operation is interrupted
2227 2005-01-28 Miklos Szeredi <miklos@szeredi.hu>
2229 * Fix compilation on 2.6.7
2231 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
2235 2005-01-26 Miklos Szeredi <miklos@szeredi.hu>
2237 * Fix bug in link() operation which caused the wrong path to be
2238 passed as the first argument. Found by Anton Altaparmakov
2240 2005-01-21 Miklos Szeredi <miklos@szeredi.hu>
2242 * LIB: fix double reply in readdir operation
2244 * fusermount: fix uid checking bug. Patch by Adam Connell
2246 * KERNEL: fix compile on various RedHat patched 2.4 kernels.
2247 Patch by Keshava Gowda
2249 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
2251 * KERNEL: provide correct llseek semantics for fuse device (fixes
2252 a bug on Progeny 2.4.20 kernel). Reported by Valient Gough
2254 2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
2256 * Released 2.2-pre5 (matches kernel 2.6.11-rc1-mm2)
2258 2005-01-18 Miklos Szeredi <miklos@szeredi.hu>
2260 * KERNEL ABI: remove GETDIR operation, and add OPENDIR, READDIR
2261 and RELEASEDIR. This ends the ugly hack of passing a file
2262 descriptor to the kernel, and actually makes the code simpler.
2264 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
2268 2005-01-17 Miklos Szeredi <miklos@szeredi.hu>
2270 * fusermount: remove capability setting, which was the cause of
2271 problems for some users. It seems that FS related capabilities
2272 are removed by setfsuid(), so this isn't even needed.
2274 2005-01-15 Miklos Szeredi <miklos@szeredi.hu>
2276 * fix compilation on 2.4 kernels (reported by Valient Gough)
2278 * fix failure to unmount bug (found by David Shaw)
2280 * fusermount: improve parsing of /etc/fuse.conf
2282 2005-01-13 Miklos Szeredi <miklos@szeredi.hu>
2284 * Remove 'mount_max' and 'user_allow_other' module options. These
2285 are now checked by fusermount, and can be set in /etc/fuse.conf
2287 * KERNEL: change check for fsid == 0 to capable(CAP_DAC_OVERRIDE)
2289 2005-01-11 Miklos Szeredi <miklos@szeredi.hu>
2291 * KERNEL: fix possible inode allocation problem, where
2292 sizeof(struct inode) is not aligned (found by Mike Waychison)
2294 * KERNEL: use new follow_link/put_link methods
2296 * KERNEL: cosmetic fixes
2298 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
2302 2005-01-10 Miklos Szeredi <miklos@szeredi.hu>
2304 * Add missing code that was accidently left out
2306 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2310 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2312 * Change "uid" mount option to "user_id" to avoid confusion with a
2313 mount option "uid" commonly used by many filesystems
2315 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2319 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
2321 * If FUSE is configured in the kernel, don't build it by default
2323 2005-01-07 Miklos Szeredi <miklos@szeredi.hu>
2325 * Compile fix by Christian Magnusson
2327 2005-01-05 Miklos Szeredi <miklos@szeredi.hu>
2329 * Fix compilation for 2.6.{0-5} kernels
2331 2005-01-04 Miklos Szeredi <miklos@szeredi.hu>
2333 * KERNEL: if request is interrupted, still keep reference to used
2334 inode(s) and file, so that FORGET and RELEASE are not sent until
2335 userspace finishes the request.
2337 * remove /{sys,proc}/fs/fuse/version, and instead add an INIT
2338 request with the same information, which is more flexible,
2339 simpler, works on embedded systems.
2341 2004-12-16 Miklos Szeredi <miklos@szeredi.hu>
2343 * KERNEL ABI: update interface to make it independent of type
2344 sizes. This will help on 64 bit architectures which can run
2345 legacy 32 bit applications.
2347 * KERNEL ABI: add "len" field to request headers. This will allow
2348 sending/receiving requests in multiple chunks.
2350 * KERNEL: handle file type change more intelligently
2352 * LIB: "-o debug" option should disable backgrounding (fix by
2353 Fabien Reygrobellet)
2355 2004-12-13 Miklos Szeredi <miklos@szeredi.hu>
2357 * KERNEL: invalidate dentry/attributes if interrupted request
2358 could leave filesystem in an unknown state.
2360 2004-12-12 Miklos Szeredi <miklos@szeredi.hu>
2362 * KERNEL: lots of cleanups related to avoiding possible deadlocks.
2363 These will cause some regressions, but stability is considered
2364 more important. If any of these features turns out to be
2365 important, it can be readded with the deadlock problems addressed.
2367 * Make all requests interruptible (only with SIGKILL currently).
2368 This can be used to break any deadlock produced by the userspace
2369 filesystem accessing it's own exported files. The RELEASE request
2370 is special, because if it's interrupted before sending it to
2371 userspace it is still sent, but the reply is not awaited.
2373 * If request is interrupted before being sent to userspace, and if
2374 it hasn't yet got any side effects, it is always restarted,
2375 regardless of the SA_RESTART flag. This makes these interruptions
2376 transparent to the process.
2378 * Remove shared-writable mmap support, which was prone to an
2379 out-of-memory deadlock situation
2381 * Remove INVALIDATE userspace initiated request
2383 * Make readpages() synchronous. Asynchronous requests are
2384 deadlock prone, since they cannot be interrupted.
2386 * Add readv/writev support to fuse device operations
2388 * Remove some printks, which userspace FS can use for a DoS
2391 * Remove 'large_read' mount option from 2.6 in kernel, check it in
2394 * LIB: improve compatibility with a fuse.h header installed in
2395 ${prefix}/include which in turn includes the real header.
2397 * LIB: improve compatibility by defining fuse_main() (which is now
2398 not used), so old configure scripts find it.
2400 2004-12-10 Miklos Szeredi <miklos@szeredi.hu>
2402 * When mounting on a subdirectory of / don't duplicate slashes at
2403 the beggining of path (spotted by David Shaw)
2405 2004-12-09 Miklos Szeredi <miklos@szeredi.hu>
2407 * Fix bug causing garbage in mount options (spotted by David Shaw)
2409 2004-12-07 Miklos Szeredi <miklos@szeredi.hu>
2411 * Add 'writepage' flag to 'fuse_file_info'.
2413 * More comments in fuse.h
2415 * Get rid of double underscores
2417 2004-12-04 Miklos Szeredi <miklos@szeredi.hu>
2419 * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config
2421 * helper.c: add -ho option, which only displays the options not
2422 the usage header. This can be used by filesystems which have
2425 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
2427 * Add source compatibility to 2.1 and 1.1 APIs. To select betwen
2428 versions simply define FUSE_USE_VERSION to 22, 21 or 11 before
2429 including the fuse header
2431 * Add binary compatibility to 2.1 version of library with symbol
2434 2004-12-03 Miklos Szeredi <miklos@szeredi.hu>
2438 2004-12-01 Miklos Szeredi <miklos@szeredi.hu>
2440 * kernel: clean up writing functions
2442 * kernel: no allocation on write in direct_io mode
2444 * move linux/fuse.h to fuse_kernel.h
2446 2004-11-30 Miklos Szeredi <miklos@szeredi.hu>
2448 * kernel: clean up reading functions
2450 2004-11-29 Miklos Szeredi <miklos@szeredi.hu>
2452 * kernel: make readpage() uninterruptible
2454 * kernel: check readonly filesystem flag in fuse_permission
2456 * lib: don't die if version file not found and new style device
2459 * lib: add '-r' option, which is short for '-o ro'
2461 * fusermount: simplify device opening
2463 * kernel: when direct_io is turend on, copy data directly to
2464 destination without itermediate buffer. More efficient and safer,
2465 since no allocation is done.
2467 * fusermount: fix warning if fuse module is not loaded
2469 * kernel: use /dev/fuse on 2.4 too
2471 2004-11-26 Miklos Szeredi <miklos@szeredi.hu>
2473 * libfuse API change: open, read, write, flush, fsync and release
2474 are passed a 'struct fuse_file_info' pointer containing the open
2475 flags (open and release), and the file handle. Verion changed to
2478 2004-11-23 Miklos Szeredi <miklos@szeredi.hu>
2480 * More cleanups in the kernel
2482 * The 10,229 charater device number has been assigned for FUSE
2484 * Version file checking fix (reported by Christian Magnusson)
2486 * fusermount: opening the fuse device now doesn't need /sys.
2488 * Optimize reading by controlling the maximum readahead based on
2489 the 'max_read' mount option
2491 * fixes for UCLIBC (Christian Magnusson)
2493 2004-11-19 Miklos Szeredi <miklos@szeredi.hu>
2495 * Cleaned up kernel in preparation for merge into mainline:
2497 * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version
2499 * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev
2501 * __user annotations for sparse
2503 * allocate individual pages instead of kmalloc in fuse_readdir,
2504 fuse_read and fuse_write.
2506 * Fix NFS export in case "use_ino" mount option is given
2508 * Make libfuse and fusermount compatible with future versions
2510 * fusermount: properly add mount options to /etc/mtab
2512 2004-11-15 Miklos Szeredi <miklos@szeredi.hu>
2514 * fusermount: do not resolve last component of mountpoint on if it
2515 is '.' or '..'. This new path resolvation is now done on mount as
2516 well as unmount. This enables relative paths to work on unmount.
2518 * fusermount: parse common mount options like "ro", "rw", etc...
2520 * Allow module params to be changed through sysfs
2522 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
2526 2004-11-14 Miklos Szeredi <miklos@szeredi.hu>
2528 * Fix bug in fuse_readpages() causing Oops in certain situations.
2529 Bug found by Vincenzo Ciancia.
2531 * Fix compilation with kernels versions > 2.6.9.
2533 2004-11-11 Miklos Szeredi <miklos@szeredi.hu>
2535 * Check kernel interface version in fusermount to prevent
2536 strangeness in case of mismatch.
2538 * No need to allocate fuse_conn until actual mount happens
2540 * Fix potential race between umount and fuse_invalidate
2542 * Check superblock of proc file in addition to inode number
2544 * Fix race between request_send_noreply() and fuse_dev_release()
2546 2004-11-10 Miklos Szeredi <miklos@szeredi.hu>
2548 * Separate configure for the kernel directory
2550 * Don't allow write to return more than 'count'
2552 * Extend kernel interface for future use
2554 2004-11-09 Miklos Szeredi <miklos@szeredi.hu>
2556 * Fix 'makeconf.sh' to use autoreconf if available
2558 2004-11-08 Miklos Szeredi <miklos@szeredi.hu>
2560 * Add ino argument to 'fuse_dirfil_t'. NOTE: This breaks source
2561 compatibility with earlier versions. To compile earier versions
2562 just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
2563 Do not use the "use_ino" mount flag with filesystems compiled with
2566 * Add pkg-config support. To compile a FUSE based filesystem you
2567 can do "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
2568 or similar. Note, that the PKG_CONFIG_PATH environment variable
2569 usually needs to be set to "/usr/local/lib/pkgconfig".
2571 * fuse.h is now installed in ${prefix}/include/fuse/
2573 2004-11-02 Miklos Szeredi <miklos@szeredi.hu>
2575 * Added "use_ino" mount option. This enables the filesystems to
2576 set the st_ino field on files
2578 2004-11-01 Miklos Szeredi <miklos@szeredi.hu>
2580 * Fix compile problems with ancient (<=2.4.18) kernels (reported
2583 * Add "allow_root" mount option. Patch by Yaroslav Rastrigin
2585 * Clear the 'exited' flag when mail loop is finished
2587 2004-10-28 Miklos Szeredi <miklos@szeredi.hu>
2589 * Make xattr functions work under 2.6 (bug found by Vincenzo
2592 2004-10-26 Miklos Szeredi <miklos@szeredi.hu>
2594 * Reset request in fuse_flush() (bugreport by David Shaw)
2596 2004-10-21 Miklos Szeredi <miklos@szeredi.hu>
2598 * fuse_main() now does not exit on error, rather it returns an
2601 * Exported __fuse_setup() and __fuse_teardown() functions, which
2602 make it easier to implement a custom event loop.
2604 * Use daemon() call to background the filesystem after mounting.
2605 This function closes the standard input, output and error and
2606 changes the current working directory to "/".
2608 2004-10-14 Miklos Szeredi <miklos@szeredi.hu>
2612 2004-10-09 Miklos Szeredi <miklos@szeredi.hu>
2614 * Don't allow fuse_flush() to be interrupted (bug found by David
2617 2004-09-27 Miklos Szeredi <miklos@szeredi.hu>
2619 * Add PID to fuse_context. Patch by Steven James
2621 * Change file handle type to 'unsigned long' in kernel interface
2623 2004-09-22 Miklos Szeredi <miklos@szeredi.hu>
2625 * A slight API change: fuse_get_context() doesn't need the "fuse"
2626 pointer, but the returned context contains it instead. The
2627 fuse_get() function is not needed anymore, so it's removed.
2629 * Fix mounting and umounting FUSE filesystem under another FUSE
2630 filesystem by non-root (bug spotted by Valient Gough)
2632 2004-09-21 Miklos Szeredi <miklos@szeredi.hu>
2634 * Fix deadlock in case of memory allocation failure. Patch by
2637 2004-09-16 Miklos Szeredi <miklos@szeredi.hu>
2639 * Check memory allocation failures in libfuse
2641 2004-09-14 Miklos Szeredi <miklos@szeredi.hu>
2643 * Check temporary file creation failure in do_getdir(). Bug
2644 spotted by Terje Oseberg
2646 2004-09-13 Miklos Szeredi <miklos@szeredi.hu>
2648 * Allow "large_read" option for 2.6 kernels but warn of deprecation
2650 * Make requests non-interruptible so race with FORGET is avoided.
2651 This is only a temporary solution
2653 * Support compiling FUSE kernel module on 2.4.x UML kernels
2655 2004-09-09 Miklos Szeredi <miklos@szeredi.hu>
2657 * Fix bug in case two FORGETs for the same node are executed in
2658 the wrong order. Bug spotted and endured for months by Franco
2659 Broi, and logfile for solution provided by Terje Oseberg
2661 2004-09-01 Miklos Szeredi <miklos@szeredi.hu>
2663 * Add -D_REENTRANT to the compile flags
2665 * Add documentation of fuse internals by Terje Oseberg
2667 2004-08-16 Miklos Szeredi <miklos@szeredi.hu>
2669 * Change release method to be non-interruptible. Fixes bug
2670 causing missing release() call when program which has opened files
2671 is killed (reported by Franco Broi and David Shaw)
2673 2004-07-29 Miklos Szeredi <miklos@szeredi.hu>
2675 * Add fuse_invalidate() to library API
2677 2004-07-26 Miklos Szeredi <miklos@szeredi.hu>
2679 * Check permissions in setattr if 'default_permissions' flag is
2680 set. Bug spotted by Damjan Lango
2682 2004-07-24 Miklos Szeredi <miklos@szeredi.hu>
2684 * 'large_read' mount option removed for 2.6 kernels, since the
2685 default (dynamic read size) is better
2687 * Extend kernel API with file handles. A file handle is returned
2688 by open, and passed to read, write, flush, fsync and release.
2689 This is currently only used for debug output in the library.
2693 * Change the current directory to the mountpoint before checking
2694 the permissions and mount filesystem on "."
2696 * By default don't modprobe the fuse module for non-root. The old
2697 behavior can be restored with the '--enable-auto-modprobe' flag of
2700 * By default don't allow shared writable mappings for non-root.
2701 The old behavior can be restored with the 'user_mmap=1' module
2704 2004-07-23 Miklos Szeredi <miklos@szeredi.hu>
2706 * Clean up mount option passing to fusermount and to fuse_new()
2707 BEWARE: this changes the userspace API slightly, and the command
2708 line usage of programs using fuse_main()
2710 2004-07-20 Miklos Szeredi <miklos@szeredi.hu>
2712 * Optimize reading under 2.6 kernels by issuing multiple page
2713 asynchronous read requests
2715 2004-07-18 Miklos Szeredi <miklos@szeredi.hu>
2717 * Only use redirty_page_for_writepage() for kernels >= 2.6.6
2719 2004-07-16 Miklos Szeredi <miklos@szeredi.hu>
2721 * Separate directory entry and inode attribute validity timer
2723 * New write semaphore to stop page writeback during truncate
2725 * Fsync now waits for all writes to complete before sending the
2728 * Optimization: if a page is completely written by
2729 fuse_commit_write(), clear the dirty flag and set the uptodate
2732 * Some memory cleanup at exit
2734 2004-07-13 Miklos Szeredi <miklos@szeredi.hu>
2736 * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
2737 disable the "hide if open" behavior of unlink/rename.
2739 * If temporary buffer allocation fails in raw read, fall back to a
2742 2004-07-12 Miklos Szeredi <miklos@szeredi.hu>
2744 * Fix bug in do_open() in libfuse: open count was incremented
2745 after the reply is sent so it could race with unlink/forget and
2748 2004-07-08 Miklos Szeredi <miklos@szeredi.hu>
2750 * When performing create or remove operation, refresh the parent's
2751 attributes on next revalidate, as i_nlink (and maybe size/time)
2754 * Use redirty_page_for_writepage() in fuse_writepage() for skipped
2757 * Set set_page_dirty address space operation (2.6 only)
2759 2004-07-06 Miklos Szeredi <miklos@szeredi.hu>
2761 * Minor fix in read: print debug info even if read size is zero
2763 2004-07-04 Miklos Szeredi <miklos@szeredi.hu>
2765 * Fix race between truncate and writepage (fsx-linux now runs
2768 2004-07-02 Miklos Szeredi <miklos@szeredi.hu>
2770 * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch
2773 * Added option for direct read/write (-r)
2775 * Fix revalidate time setting for newly created inodes
2777 * Remove uid==0 check for '-x' option in fusermount (kernel checks
2780 * fuse_main() only installs handlers for signals (out of INT, HUP,
2781 TERM, PIPE), for which no handler has yet been installed
2783 * Add module option 'user_allow_other' which if set to non-zero
2784 will allow non root user to specify the 'allow_other' mount option
2785 ('-x' option of fusermount)
2787 * Fix deadlock between page writeback completion and truncate
2788 (bug found by Valient Gough with the fsx-linux utility)
2790 2004-07-01 Miklos Szeredi <miklos@szeredi.hu>
2792 * Change passing fuse include dir to 2.6 kernel make system more
2793 robust (fixes compile problems seen on SuSE 9.1 with updated 2.6
2796 2004-06-30 Miklos Szeredi <miklos@szeredi.hu>
2798 * Acquire inode->i_sem before open and release methods to prevent
2799 concurrent rename or unlink operations.
2801 * Make __fuse_read_cmd() read only one command. This allows
2802 multiplexing the fuse file descriptor with other event sources
2803 using select() or poll() (patch by Jeff Harris)
2805 * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)
2807 2004-06-27 Miklos Szeredi <miklos@szeredi.hu>
2809 * Fix file offset wrap around at 4G when doing large reads
2811 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
2813 * Fix memory leak in open (Valient Gough)
2815 2004-06-24 Miklos Szeredi <miklos@szeredi.hu>
2817 * Add "close after delete" support to libfuse (patch by Valient
2820 * Cancel all worker threads before exit in multithreaded mode
2822 2004-06-23 Miklos Szeredi <miklos@szeredi.hu>
2826 * Don't send reply to RELEASE
2828 * Work with newer libtool (1.5a)
2830 * Check for st_atim member of struct stat
2832 2004-06-22 Miklos Szeredi <miklos@szeredi.hu>
2834 * No request allocation needed on inode and file release
2836 2004-06-21 Miklos Szeredi <miklos@szeredi.hu>
2838 * Fix possible inode leak in userspace in case of unfinished
2839 lookup/mknod/mkdir/symlink/link operation.
2841 2004-06-20 Miklos Szeredi <miklos@szeredi.hu>
2843 * Fix some races and cleanups in fuse_read_super()
2845 2004-06-19 Miklos Szeredi <miklos@szeredi.hu>
2847 * Requests are allocated at open time
2849 2004-06-03 Miklos Szeredi <miklos@szeredi.hu>
2851 * Build shared library as well as static (using libtool)
2853 * Change FUSE_MINOR_VERSION from 1 to 0. I know it's illegal but
2854 there has not been a release with the previous minor number, and I
2855 hope nobody is using it for anything.
2857 * Change fuse_main(), so that default behavior is to go into
2858 background if mount is successful. '-f' and '-d' options disable
2859 backgrounding. This fixes the "Why does my FUSE daemon hang?"
2862 * Cache ENOSYS (function not implemented) errors on *xattr, flush
2865 * Don't call getdir method from open() only from first readdir().
2866 Open is sometimes just used to store the current directory
2869 2004-05-18 Miklos Szeredi <miklos@szeredi.hu>
2871 * Added flush() call
2873 2004-05-04 Miklos Szeredi <miklos@szeredi.hu>
2875 * Extended attributes support for 2.4 (patch by Cody Pisto)
2877 2004-04-20 Miklos Szeredi <miklos@szeredi.hu>
2879 * Fixed parser with modversions (Mattias Wadman)
2881 2004-04-19 Miklos Szeredi <miklos@szeredi.hu>
2883 * Added mount option parser to 2.4 build
2885 2004-04-13 Miklos Szeredi <miklos@szeredi.hu>
2887 * Replaced binary mount data with text options
2889 * Show FUSE specific mount options in /proc/mounts
2891 * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64
2893 2004-04-09 Miklos Szeredi <miklos@szeredi.hu>
2895 * Check some limits so userspace won't get too big requests
2897 2004-04-05 Miklos Szeredi <miklos@szeredi.hu>
2899 * Kill compile warning
2901 * Upgraded user-mount patch for 2.6.5
2903 2004-04-02 Miklos Szeredi <miklos@szeredi.hu>
2905 * Add detection of user-mode-linux to configure
2907 2004-03-31 Miklos Szeredi <miklos@szeredi.hu>
2909 * fixed zero size case for getxattr and listxattr
2911 2004-03-30 Miklos Szeredi <miklos@szeredi.hu>
2913 * new fusermount flag '-z': lazy unmount, default is not lazy
2915 * Extended attributes operations added (getxattr, setxattr,
2916 listxattr, removexattr)
2918 2004-03-25 Miklos Szeredi <miklos@szeredi.hu>
2920 * If filesystem doesn't define a statfs operation, then an
2921 all-zero default statfs is returned instead of ENOSYS
2923 2004-03-24 Miklos Szeredi <miklos@szeredi.hu>
2925 * Add FS_BINARY_MOUNTDATA filesystem flag for kernels > 2.6.4
2927 2004-03-09 Miklos Szeredi <miklos@szeredi.hu>
2929 * Fix for uClinux (Christian Magnusson)
2931 2004-03-02 Miklos Szeredi <miklos@szeredi.hu>
2933 * fuse_main() adds "-n progname" to the fusermount command line
2935 * More kernel interface changes:
2937 * Lookup/getattr return cache timeout values
2939 2004-02-25 Miklos Szeredi <miklos@szeredi.hu>
2941 * Clean up option parsing in fuse_main()
2943 * Added fuse_get() function which returns the fuse object created
2946 2004-02-20 Miklos Szeredi <miklos@szeredi.hu>
2948 * removed old way of mounting (fusermount mountpoint program)
2950 * more kernel interface changes:
2952 * added nanosecond precision to file times
2954 * removed interface version from mount data
2956 * added /proc/fs/fuse/version which contains MAJOR.MINOR
2958 2004-02-19 Miklos Szeredi <miklos@szeredi.hu>
2960 * statfs library API changed to match other methods. Since this
2961 is not backward compatible FUSE_MAJOR_VERSION is changed to 2
2963 * kernel interface changes follow:
2965 * statfs changed to 64 bits, added 'bavail' field
2967 * add generation number to lookup result
2969 * optimized mknod/mkdir/symlink/link (no separate lookup is
2972 * rdev size increased to 32 bits for mknod
2974 * kernel interface version changed to 3.1
2976 2004-02-18 Miklos Szeredi <miklos@szeredi.hu>
2978 * user-mount upgraded for 2.6.3 kernel
2980 2004-02-17 Miklos Szeredi <miklos@szeredi.hu>
2982 * Added user-mount.2.6.2-rc3.patch
2984 * Add FS_SAFE flag to fuse filesystem
2986 * fusermount should allow (un)mounting for non-root even if not
2989 2004-02-12 Miklos Szeredi <miklos@szeredi.hu>
2991 * Remove MS_PERMISSION mount flag (that means something else now)
2993 2004-02-10 Miklos Szeredi <miklos@szeredi.hu>
2995 * Added check for i_size_read/write functions to configure.in
2996 (patch by Valient Gough)
2998 2004-02-06 Miklos Szeredi <miklos@szeredi.hu>
3000 * Fixed writing >= 2G files
3002 * Check file size on open (with generic_file_open())
3004 * Readpage calls flush_dcache_page() after storing data
3006 * Use i_size_read/write for accessing inode->i_size
3008 * Make loopback mount of a fuse file work
3010 2004-02-04 Miklos Szeredi <miklos@szeredi.hu>
3014 2004-01-29 Miklos Szeredi <miklos@szeredi.hu>
3016 * Properly check if the inode exists in fuse_invalidate
3018 2004-01-27 Miklos Szeredi <miklos@szeredi.hu>
3020 * Added -q option for fusermount
3022 * fuse_unmount() now uses -q option of fusermount, so no error is
3023 printed if the cause of the program exit is that the filesystem
3024 has already been unmounted
3026 * Fix i_nlink correctness after rmdir/unlink
3028 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
3032 2004-01-26 Miklos Szeredi <miklos@szeredi.hu>
3034 * Fix typo (thanks Marcos Dione)
3036 * Compile fixes for 2.4 kernels
3038 2004-01-23 Miklos Szeredi <miklos@szeredi.hu>
3040 * Fix CONFIG_MODVERSIONS compile on 2.6
3042 2004-01-22 Miklos Szeredi <miklos@szeredi.hu>
3044 * Write all pending data before a RELEASE operation
3046 * Suppress 'Bad file descriptor' warning on exit
3048 * Replaced fusermount option '-d xxx' with '-n xxx' so it doesn't
3049 get confused with '-d' of fuse_main() (sorry about this change)
3051 * New fusermount option '-l' which enables big reads. Big reads
3052 are now disabled by default.
3054 * fuse_main() can accept fusermount arguments after a '--'
3056 2004-01-19 Miklos Szeredi <miklos@szeredi.hu>
3058 * Support for exporting filesystem over NFS (see README.NFS)
3060 2004-01-14 Miklos Szeredi <miklos@szeredi.hu>
3062 * Support non-blocking writepage on 2.6. This makes FUSE behave
3063 much more nicely in low-memory situations
3065 * Fix 32-bit dev handling in getattr and mknod for 2.6 kernels.
3066 (Note: the mknod method does not yet use 32bit device number)
3068 2004-01-13 Miklos Szeredi <miklos@szeredi.hu>
3072 2004-01-07 Miklos Szeredi <miklos@szeredi.hu>
3076 2004-01-06 Miklos Szeredi <miklos@szeredi.hu>
3078 * Integrated 2.6 kernel support patch by Michael Grigoriev
3080 * Improvements and cleanups for 2.6 kernels
3082 2004-01-05 Miklos Szeredi <miklos@szeredi.hu>
3084 * Added -d option to fusermount
3086 2003-12-15 Miklos Szeredi <miklos@szeredi.hu>
3088 * Added major+minor version to library API, and minor version to
3091 2003-12-13 David McNab <david@rebirthing.co.nz>
3093 * Implemented fsync support in examples/example.py
3095 * Implemented 'fsync' and 'statfs' methods in python
3098 2003-12-12 Miklos Szeredi <miklos@szeredi.hu>
3100 * Make it compile on 2.4.19.
3102 * Add fsync operation (write file failed on xemacs & vi)
3104 2003-12-12 David McNab <david@rebirthing.co.nz>
3106 * Added distutils support to the python module, as per standard
3107 python development practice
3109 2003-12-11 Miklos Szeredi <miklos@szeredi.hu>
3111 * Add file locking for mount/unmount (based on patch by Valient
3114 2003-12-11 David McNab <david@rebirthing.co.nz>
3116 * Python filesystem - was broken with python2.3, now fixed:
3117 - changed PyTuple_* calls to PySequence_*, because os.lstat
3118 is no longer returning a pure tuple
3119 - changed PyInt_Check() calls to also call PyLong_Check,
3120 to cover for cases (eg os.lstat) where longs are returned
3121 - Added support for file 'release' handling, which IMO is
3122 essential since this signals to a FS that writes to a file
3123 are complete (and therefore the file can now be disposed of
3124 meaningfully at the python filesystem's discretion)
3125 - Added '__init__' handler to base Fuse class, which allows
3126 your Python class to know the mountpoint and mount args,
3127 as attributes myfs.mountpoint, myfs.optlist, myfs.optdict
3130 - added 'mount.fuse' script (in util/ dir), which is meant to be
3131 symlinked from /sbin, and which allows FUSE filesystems to
3132 be mounted with the 'mount' command, and listed in fstab;
3133 also, mount arguments get passed to your filesystem
3136 2003-11-04 Miklos Szeredi <miklos@szeredi.hu>
3138 * Fix kernel version detection (again). Bugreport by Peter Levart
3140 2003-11-03 Miklos Szeredi <miklos@szeredi.hu>
3142 * Applied read combining patch by Michael Grigoriev (tested by
3143 Valient Gough and Vincent Wagelaar)
3145 2003-10-22 Miklos Szeredi <miklos@szeredi.hu>
3147 * Mtab handling fix in fusermount by "Valient Gough" (SF patch
3150 2003-10-13 Miklos Szeredi <miklos@szeredi.hu>
3152 * Error code fixes in kernel module
3154 2003-10-04 Miklos Szeredi <miklos@szeredi.hu>
3156 * kernel version detection fix
3158 * fusermount now uses "lazy" umount option
3160 * fusermount can use modprobe with module-init-tools
3162 2003-09-08 Miklos Szeredi <miklos@szeredi.hu>
3164 * Integrated caching patch by Michael Grigoriev
3166 * Added "Filesystems" file with descriptions of projects using
3169 * Added patch by Michael Grigoriev to allow compliation of FUSE
3170 kernel module for 2.6 kernels
3172 2003-06-02 Miklos Szeredi <miklos@szeredi.hu>
3174 * And another spec-file fix by Achim Settelmeier
3176 2003-05-26 Miklos Szeredi <miklos@szeredi.hu>
3178 * Spec-file fix by Achim Settelmeier
3180 2003-03-10 Miklos Szeredi <miklos@szeredi.hu>
3182 * Fix umount oops (found by Samuli Kärkkäinen)
3184 2003-03-05 Miklos Szeredi <miklos@szeredi.hu>
3186 * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier
3188 2003-03-04 Miklos Szeredi <miklos@szeredi.hu>
3190 * Updated fuse.spec file (Achim Settelmeier)
3192 2003-02-19 Miklos Szeredi <miklos@szeredi.hu>
3194 * Version 1.0 released
3196 2003-02-12 Miklos Szeredi <miklos@szeredi.hu>
3198 * SuSE compilation fix by Juan-Mariano de Goyeneche
3200 2002-12-10 Miklos Szeredi <miklos@szeredi.hu>
3202 * The release() VFS call is now exported to the FUSE interface
3204 2002-12-05 Miklos Szeredi <miklos@szeredi.hu>
3206 * 64 bit file offset fixes in the fuse kernel module
3208 * Added function 'fuse_exit()' which can be used to exit the main
3211 2002-12-03 Miklos Szeredi <miklos@szeredi.hu>
3213 * Added _FILE_OFFSET_BITS=64 define to fuse.h. Note, that this is
3214 an incompatible interface change.
3216 2002-10-28 Miklos Szeredi <miklos@szeredi.hu>
3218 * Portablility fix (bug reported by C. Chris Erway)
3220 2002-10-25 Miklos Szeredi <miklos@szeredi.hu>
3222 * Use Mark Glines' fd passing method for default operation instead
3225 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
3227 * fix "Stale NFS file handle" bug caused by changes in 2.4.19
3229 2002-10-22 Miklos Szeredi <miklos@szeredi.hu>
3231 * fix incompatiblity with Red Hat kernels, with help from Nathan
3234 2002-04-18 Mark Glines <mark@glines.org>
3236 * added an alternative to fuse_mount(), called
3237 fuse_mount_ioslave(), which does not need to reexec the
3239 * added a small helper util needed by fuse_mount_ioslave().
3241 2002-03-16 Mark Glines <mark@glines.org>
3243 * use struct fuse_statfs everywhere possible to avoid problems
3244 with the headerfiles changing struct statfs member sizes
3246 2002-03-01 Miklos Szeredi <miklos@szeredi.hu>
3248 * Another RPM spec file for RedHat >= 7 by Ian Pilcher
3250 2002-01-14 Miklos Szeredi <miklos@szeredi.hu>
3252 * RPM support by Achim Settelmeier
3254 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
3256 * Version 0.95 released
3258 2002-01-09 Miklos Szeredi <miklos@szeredi.hu>
3260 * Revaidate all path components not just the last, this means a
3261 very small performance penalty for being more up-to-date.
3263 2002-01-08 Miklos Szeredi <miklos@szeredi.hu>
3265 * Update and fix python interface
3267 2002-01-07 Mark Glines <mark@glines.org>
3269 * Added statfs() support to kernel, lib, examples, and perl!
3271 2001-12-26 Miklos Szeredi <miklos@szeredi.hu>
3273 * Better cross compilation support
3275 * Ported to Compaq IPAQ
3277 2001-12-20 Miklos Szeredi <miklos@szeredi.hu>
3279 * Added function fuse_get_context() to library API (inspired by
3280 patch from Matt Ryan)
3282 * Added flags to fusermount and to kernel interface to control
3285 * Integrated fuse_set_operations() into fuse_new()
3287 2001-12-08 Miklos Szeredi <miklos@szeredi.hu>
3289 * Applied header protection + extern "C" patch by Roland
3292 2001-12-02 Miklos Szeredi <miklos@szeredi.hu>
3294 * Added perl bindings by Mark Glines
3296 2001-11-21 Miklos Szeredi <miklos@szeredi.hu>
3298 * Cleaned up way of mounting simple filesystems.
3300 * fuse_main() helper function added
3302 2001-11-18 Miklos Szeredi <miklos@szeredi.hu>
3304 * Optimized read/write operations, so that minimal copying of data
3307 2001-11-14 Miklos Szeredi <miklos@szeredi.hu>
3309 * Python bindings by Jeff Epler added
3311 2001-11-13 Miklos Szeredi <miklos@szeredi.hu>
3313 * Fixed vfsmount reference leak in fuse_follow_link
3315 * FS blocksize is set to PAGE_CACHE_SIZE, blksize attribute from
3316 userspace is ignored
3318 2001-11-09 Miklos Szeredi <miklos@szeredi.hu>