📄 changelog
字号:
* Make readpages() synchronous. Asynchronous requests are deadlock prone, since they cannot be interrupted. * Add readv/writev support to fuse device operations * Remove some printks, which userspace FS can use for a DoS against syslog * Remove 'large_read' mount option from 2.6 in kernel, check it in fusermount instead * LIB: improve compatibility with a fuse.h header installed in ${prefix}/include which in turn includes the real header. * LIB: improve compatibility by defining fuse_main() (which is now not used), so old configure scripts find it.2004-12-10 Miklos Szeredi <miklos@szeredi.hu> * When mounting on a subdirectory of / don't duplicate slashes at the beggining of path (spotted by David Shaw)2004-12-09 Miklos Szeredi <miklos@szeredi.hu> * Fix bug causing garbage in mount options (spotted by David Shaw)2004-12-07 Miklos Szeredi <miklos@szeredi.hu> * Add 'writepage' flag to 'fuse_file_info'. * More comments in fuse.h * Get rid of double underscores2004-12-04 Miklos Szeredi <miklos@szeredi.hu> * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config * helper.c: add -ho option, which only displays the options not the usage header. This can be used by filesystems which have their own options.2004-12-03 Miklos Szeredi <miklos@szeredi.hu> * Add source compatibility to 2.1 and 1.1 APIs. To select betwen versions simply define FUSE_USE_VERSION to 22, 21 or 11 before including the fuse header * Add binary compatibility to 2.1 version of library with symbol versioning2004-12-03 Miklos Szeredi <miklos@szeredi.hu> * Released 2.12004-12-01 Miklos Szeredi <miklos@szeredi.hu> * kernel: clean up writing functions * kernel: no allocation on write in direct_io mode * move linux/fuse.h to fuse_kernel.h2004-11-30 Miklos Szeredi <miklos@szeredi.hu> * kernel: clean up reading functions2004-11-29 Miklos Szeredi <miklos@szeredi.hu> * kernel: make readpage() uninterruptible * kernel: check readonly filesystem flag in fuse_permission * lib: don't die if version file not found and new style device exists * lib: add '-r' option, which is short for '-o ro' * fusermount: simplify device opening * kernel: when direct_io is turend on, copy data directly to destination without itermediate buffer. More efficient and safer, since no allocation is done. * fusermount: fix warning if fuse module is not loaded * kernel: use /dev/fuse on 2.4 too2004-11-26 Miklos Szeredi <miklos@szeredi.hu> * libfuse API change: open, read, write, flush, fsync and release are passed a 'struct fuse_file_info' pointer containing the open flags (open and release), and the file handle. Verion changed to 3.0.2004-11-23 Miklos Szeredi <miklos@szeredi.hu> * More cleanups in the kernel * The 10,229 charater device number has been assigned for FUSE * Version file checking fix (reported by Christian Magnusson) * fusermount: opening the fuse device now doesn't need /sys. * Optimize reading by controlling the maximum readahead based on the 'max_read' mount option * fixes for UCLIBC (Christian Magnusson)2004-11-19 Miklos Szeredi <miklos@szeredi.hu> * Cleaned up kernel in preparation for merge into mainline: * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev * __user annotations for sparse * allocate individual pages instead of kmalloc in fuse_readdir, fuse_read and fuse_write. * Fix NFS export in case "use_ino" mount option is given * Make libfuse and fusermount compatible with future versions * fusermount: properly add mount options to /etc/mtab2004-11-15 Miklos Szeredi <miklos@szeredi.hu> * fusermount: do not resolve last component of mountpoint on if it is '.' or '..'. This new path resolvation is now done on mount as well as unmount. This enables relative paths to work on unmount. * fusermount: parse common mount options like "ro", "rw", etc... * Allow module params to be changed through sysfs2004-11-14 Miklos Szeredi <miklos@szeredi.hu> * Released 2.1-pre12004-11-14 Miklos Szeredi <miklos@szeredi.hu> * Fix bug in fuse_readpages() causing Oops in certain situations. Bug found by Vincenzo Ciancia. * Fix compilation with kernels versions > 2.6.9.2004-11-11 Miklos Szeredi <miklos@szeredi.hu> * Check kernel interface version in fusermount to prevent strangeness in case of mismatch. * No need to allocate fuse_conn until actual mount happens * Fix potential race between umount and fuse_invalidate * Check superblock of proc file in addition to inode number * Fix race between request_send_noreply() and fuse_dev_release()2004-11-10 Miklos Szeredi <miklos@szeredi.hu> * Separate configure for the kernel directory * Don't allow write to return more than 'count' * Extend kernel interface for future use2004-11-09 Miklos Szeredi <miklos@szeredi.hu> * Fix 'makeconf.sh' to use autoreconf if available2004-11-08 Miklos Szeredi <miklos@szeredi.hu> * Add ino argument to 'fuse_dirfil_t'. NOTE: This breaks source compatibility with earlier versions. To compile earier versions just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source. Do not use the "use_ino" mount flag with filesystems compiled with FUSE_DIRFIL_COMPAT. * Add pkg-config support. To compile a FUSE based filesystem you can do "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs" or similar. Note, that the PKG_CONFIG_PATH environment variable usually needs to be set to "/usr/local/lib/pkgconfig". * fuse.h is now installed in ${prefix}/include/fuse/2004-11-02 Miklos Szeredi <miklos@szeredi.hu> * Added "use_ino" mount option. This enables the filesystems to set the st_ino field on files2004-11-01 Miklos Szeredi <miklos@szeredi.hu> * Fix compile problems with ancient (<=2.4.18) kernels (reported by Jeremy Smith) * Add "allow_root" mount option. Patch by Yaroslav Rastrigin * Clear the 'exited' flag when mail loop is finished2004-10-28 Miklos Szeredi <miklos@szeredi.hu> * Make xattr functions work under 2.6 (bug found by Vincenzo Ciancia)2004-10-26 Miklos Szeredi <miklos@szeredi.hu> * Reset request in fuse_flush() (bugreport by David Shaw)2004-10-21 Miklos Szeredi <miklos@szeredi.hu> * fuse_main() now does not exit on error, rather it returns an error code * Exported __fuse_setup() and __fuse_teardown() functions, which make it easier to implement a custom event loop. * Use daemon() call to background the filesystem after mounting. This function closes the standard input, output and error and changes the current working directory to "/".2004-10-14 Miklos Szeredi <miklos@szeredi.hu> * Released 1.92004-10-09 Miklos Szeredi <miklos@szeredi.hu> * Don't allow fuse_flush() to be interrupted (bug found by David Shaw)2004-09-27 Miklos Szeredi <miklos@szeredi.hu> * Add PID to fuse_context. Patch by Steven James * Change file handle type to 'unsigned long' in kernel interface2004-09-22 Miklos Szeredi <miklos@szeredi.hu> * A slight API change: fuse_get_context() doesn't need the "fuse" pointer, but the returned context contains it instead. The fuse_get() function is not needed anymore, so it's removed. * Fix mounting and umounting FUSE filesystem under another FUSE filesystem by non-root (bug spotted by Valient Gough)2004-09-21 Miklos Szeredi <miklos@szeredi.hu> * Fix deadlock in case of memory allocation failure. Patch by Christian Magnusson2004-09-16 Miklos Szeredi <miklos@szeredi.hu> * Check memory allocation failures in libfuse2004-09-14 Miklos Szeredi <miklos@szeredi.hu> * Check temporary file creation failure in do_getdir(). Bug spotted by Terje Oseberg2004-09-13 Miklos Szeredi <miklos@szeredi.hu> * Allow "large_read" option for 2.6 kernels but warn of deprecation * Make requests non-interruptible so race with FORGET is avoided. This is only a temporary solution * Support compiling FUSE kernel module on 2.4.x UML kernels2004-09-09 Miklos Szeredi <miklos@szeredi.hu> * Fix bug in case two FORGETs for the same node are executed in the wrong order. Bug spotted and endured for months by Franco Broi, and logfile for solution provided by Terje Oseberg2004-09-01 Miklos Szeredi <miklos@szeredi.hu> * Add -D_REENTRANT to the compile flags * Add documentation of fuse internals by Terje Oseberg2004-08-16 Miklos Szeredi <miklos@szeredi.hu> * Change release method to be non-interruptible. Fixes bug causing missing release() call when program which has opened files is killed (reported by Franco Broi and David Shaw)2004-07-29 Miklos Szeredi <miklos@szeredi.hu> * Add fuse_invalidate() to library API2004-07-26 Miklos Szeredi <miklos@szeredi.hu> * Check permissions in setattr if 'default_permissions' flag is set. Bug spotted by Damjan Lango2004-07-24 Miklos Szeredi <miklos@szeredi.hu> * 'large_read' mount option removed for 2.6 kernels, since the default (dynamic read size) is better * Extend kernel API with file handles. A file handle is returned by open, and passed to read, write, flush, fsync and release. This is currently only used for debug output in the library. * Security changes: * Change the current directory to the mountpoint before checking the permissions and mount filesystem on "." * By default don't modprobe the fuse module for non-root. The old behavior can be restored with the '--enable-auto-modprobe' flag of ./configure * By default don't allow shared writable mappings for non-root. The old behavior can be restored with the 'user_mmap=1' module parameter2004-07-23 Miklos Szeredi <miklos@szeredi.hu> * Clean up mount option passing to fusermount and to fuse_new() BEWARE: this changes the userspace API slightly, and the command line usage of programs using fuse_main()2004-07-20 Miklos Szeredi <miklos@szeredi.hu> * Optimize reading under 2.6 kernels by issuing multiple page asynchronous read requests2004-07-18 Miklos Szeredi <miklos@szeredi.hu> * Only use redirty_page_for_writepage() for kernels >= 2.6.62004-07-16 Miklos Szeredi <miklos@szeredi.hu> * Separate directory entry and inode attribute validity timer * New write semaphore to stop page writeback during truncate * Fsync now waits for all writes to complete before sending the request * Optimization: if a page is completely written by fuse_commit_write(), clear the dirty flag and set the uptodate flag for that page * Some memory cleanup at exit2004-07-13 Miklos Szeredi <miklos@szeredi.hu> * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which disable the "hide if open" behavior of unlink/rename. * If temporary buffer allocation fails in raw read, fall back to a smaller buffer2004-07-12 Miklos Szeredi <miklos@szeredi.hu> * Fix bug in do_open() in libfuse: open count was incremented after the reply is sent so it could race with unlink/forget and cause an abort.2004-07-08 Miklos Szeredi <miklos@szeredi.hu> * When performing create or remove operation, refresh the parent's attributes on next revalidate, as i_nlink (and maybe size/time) could be inacurate. * Use redirty_page_for_writepage() in fuse_writepage() for skipped pages (2.6 only) * Set set_page_dirty address space operation (2.6 only)2004-07-06 Miklos Szeredi <miklos@szeredi.hu> * Minor fix in read: print debug info even if read size is zero2004-07-04 Miklos Szeredi <miklos@szeredi.hu> * Fix race between truncate and writepage (fsx-linux now runs without error)2004-07-02 Miklos Szeredi <miklos@szeredi.hu> * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch by Mattias Wadman) * Added option for direct read/write (-r) * Fix revalidate time setting for newly created inodes * Remove uid==0 check for '-x' option in fusermount (kernel checks this) * fuse_main() only installs handlers for signals (out of INT, HUP, TERM, PIPE), for which no handler has yet been installed * Add module option 'user_allow_other' which if set to non-zero will allow non root user to specify the 'allow_other' mount option ('-x' option of fusermount) * Fix deadlock between page writeback completion and truncate (bug found by Valient Gough with the fsx-linux utility)2004-07-01 Miklos Szeredi <miklos@szeredi.hu> * Change passing fuse include dir to 2.6 kernel make system more robust (fixes compile problems seen on SuSE 9.1 with updated 2.6 kernel)2004-06-30 Miklos Szeredi <miklos@szeredi.hu> * Acquire inode->i_sem before open and release methods to prevent concurrent rename or unlink operations. * Make __fuse_read_cmd() read only one command. This allows multiplexing the fuse file descriptor with other event sources using select() or poll() (patch by Jeff Harris) * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)2004-06-27 Miklos Szeredi <miklos@szeredi.hu> * Fix file offset wrap around at 4G when doing large reads2004-06-24 Miklos Szeredi <miklos@szeredi.hu> * Fix memory leak in open (Valient Gough)2004-06-24 Miklos Szeredi <miklos@szeredi.hu> * Add "close after delete" support to libfuse (patch by Valient Gough) * Cancel all worker threads before exit in multithreaded mode2004-06-23 Miklos Szeredi <miklos@szeredi.hu> * Fix locking bugs * Don't send reply to RELEASE * Work with newer libtool (1.5a) * Check for st_atim member of struct stat2004-06-22 Miklos Szeredi <miklos@szeredi.hu> * No request allocation needed on inode and file release2004-06-21 Miklos Szeredi <miklos@szeredi.hu> * Fix possible inode leak in userspace in case of unfinished lookup/mknod/mkdir/symlink/link operation.2004-06-20 Miklos Szeredi <miklos@szeredi.hu> * Fix some races and cleanups in fuse_read_super()2004-06-19 Miklos Szeredi <miklos@szeredi.hu> * Requests are allocated at open time2004-06-03 Miklos Szeredi <miklos@szeredi.hu> * Build shared library as well as static (using libtool)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -