summaryrefslogtreecommitdiffstats
path: root/sys/fs/udf/udf.h
Commit message (Collapse)AuthorAgeFilesLines
* udf_readatoffset: read through directory vnode, do not read > MAXBSIZEavg2009-02-261-16/+1
| | | | | | | | | | | | | | | | | | | | | Currently bread()-ing through device vnode with (1) VMIO enabled, (2) bo_bsize != DEV_BSIZE (3) more than 1 block results in data being incorrectly cached. So instead a more common approach of using a vnode belonging to fs is now employed. Also, prevent attempt to bread more than MAXBSIZE bytes because of adjustments made to account for offset that doesn't start on block boundary. Add expanded comments to explain the calculations. Also drop unused inline function while here. PR: kern/120967 PR: kern/129084 Reviewed by: scottl, kib Approved by: jhb (mentor)
* Add support for fifos to UDF:jhb2009-02-061-0/+2
| | | | | | | | | - Add a separate set of vnode operations that inherits from the fifo ops and use it for fifo nodes. - Add a VOP_SETATTR() method that allows setting the size (by silently ignoring the requests) of fifos. This is to allow O_TRUNC opens of fifo devices (e.g. I/O redirection in shells using ">"). - Add a VOP_PRINT() handler while I'm here.
* Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method.pjd2007-02-151-0/+7
| | | | | | | | | | | | | | | | This way we may support multiple structures in v_data vnode field within one file system without using black magic. Vnode-to-file-handle should be VOP in the first place, but was made VFS operation to keep interface as compatible as possible with SUN's VFS. BTW. Now Solaris also implements vnode-to-file-handle as VOP operation. VFS_VPTOFH() was left for API backward compatibility, but is marked for removal before 8.0-RELEASE. Approved by: mckusick Discussed with: many (on IRC) Tested with: ufs, msdosfs, cd9660, nullfs and zfs
* Remove inode fields previously used for private inode hash tables.phk2005-03-161-1/+0
|
* Don't hold a reference to the disk vnode for each inode.phk2005-03-151-2/+0
| | | | | Eliminate cdev and vnode pointer to the disk from the inodes, the mount holds everything we need.
* Use vfs_hash instead of home-rolled.phk2005-03-141-6/+0
| | | | Correct locking around g_vfs_close()
* Remove basically unused root_vp pointer in udfmount.rwatson2005-02-181-1/+0
| | | | | MFC after: 1 week Discussed with: scottl
* Move UDF to GEOM backing instead of DEVFS.phk2004-10-291-0/+2
| | | | For details, please see src/sys/ufs/ffs/ffs_vfsops.c 1.250.
* First half of making UDF be endian-clean. This addresses the vfsops side.scottl2004-06-231-2/+4
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-2/+2
| | | | Bump __FreeBSD_version accordingly.
* Add hooks for translating directories entries using the iconv methods.scottl2003-11-051-0/+4
| | | | Submitted by: imura@ryu16.org
* Add a missing __inline. Strange that gcc never complained about it.scottl2003-05-041-3/+3
| | | | Implement udf_readlblks() in terms of RDSECTOR.
* Implement the node cache as a hash table.scottl2003-05-041-2/+5
|
* Factor out some ugle code that's shared by udf_readdir and udf_lookup.scottl2002-08-151-0/+16
| | | | | | Significantly de-obfuscate udf_lookup Inspired By: tes@sgi.com
* Sync with UDF p4 tree: Use POSIX integer types instead of BSD types.asmodai2002-04-151-4/+4
|
* Actually add the UDF files!scottl2002-04-141-0/+115
OpenPOWER on IntegriCloud