summaryrefslogtreecommitdiffstats
path: root/sys/fs/nandfs/nandfs_vfsops.c
Commit message (Collapse)AuthorAgeFilesLines
* File systems that do not use the buffer cache (such as ZFS) mustrmacklem2015-04-151-0/+1
| | | | | | | | | | | | | use VOP_FSYNC() to perform the NFS server's Commit operation. This patch adds a mnt_kern_flag called MNTK_USES_BCACHE which is set by file systems that use the buffer cache. If this flag is not set, the NFS server always does a VOP_FSYNC(). This should be ok for old file system modules that do not set MNTK_USES_BCACHE, since calling VOP_FSYNC() is correct, although it might not be optimal for file systems that use the buffer cache. Reviewed by: kib MFC after: 2 weeks
* Set the erase block size properly in the case the underlying mediaimp2014-08-021-2/+1
| | | | | | | doesn't advertise an erase block size. Submitted by: bjg@ Pointy hat to: imp@
* Take out the hack to write -1's to non-NAND. Always do a BIO_DELETE onimp2014-04-181-4/+2
| | | | | the ranges we want to erase. This is nicer to SSDs that want TRIMs anyway.
* More properly account for free/reserved segments to avoid deadlock orimp2014-04-181-2/+11
| | | | | | | | | worse when filling up a device and then trying to erase files to make space. Without enough space, you can't do that. Also, ensure that the metadata writes don't generate ENOSPC. They will be retried later since the buffers are still dirty... Submitted by: mjg@
* In sys/fs/nandfs/nandfs_vfsops.c, #if 0 an unused static function.dim2014-02-151-0/+2
| | | | MFC after: 3 days
* Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag.attilio2012-11-091-1/+0
| | | | | Porters should refer to __FreeBSD_version 1000021 for this change as it may have happened at the same timeframe.
* Import work done under project/nand (@235533) into head.gber2012-05-171-0/+1590
The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages) This work is still experimental. Please use with caution. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks
OpenPOWER on IntegriCloud