Home | History | Annotate | Download | only in chfs
History log of /src/sys/ufs/chfs/chfs_subr.c
RevisionDateAuthorComments
 1.15  05-Sep-2020  riastradh Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
here.

ok chs@
 1.14  11-Jun-2020  ad uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.
 1.13  16-May-2020  christos Add ACL support for FFS. From FreeBSD.
 1.12  23-Apr-2020  ad PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
somewhere. Use it to decide whether to do direct-mapped copy, rather than
poking around directly in the vnode in ubc_uiomove(), which is ugly and
doesn't work for tmpfs. It would be nicer to contain all this in UVM but
the filesystem provides the needed locking here (VV_MAPPED) and to
reinvent that would suck more.

- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS(). Pass in UBC_ISMAPPED where
appropriate.
 1.11  31-Dec-2019  ad branches: 1.11.6;
Rename uvm_free() -> uvm_availmem().
 1.10  21-Dec-2019  ad uvmexp.free -> uvm_free()
 1.9  20-Oct-2013  christos branches: 1.9.30;
remove unused
 1.8  19-Oct-2012  ttoth branches: 1.8.2;
CHFS comments
 1.7  22-Aug-2012  ttoth branches: 1.7.2;
chfs: fixed truncating
 1.6  13-Aug-2012  ttoth chfs fixes
1. nodes are obsoleted only once during truncating a file
2. frags don't stay in pool_cache
 1.5  10-Aug-2012  ttoth chfs bugfix [node was obsoleted twice]
 1.4  12-Apr-2012  ttoth branches: 1.4.2;
using chtype on media instead of vtype
debug.c deleted
 1.3  13-Mar-2012  elad Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
 1.2  24-Nov-2011  agc branches: 1.2.2;
quick workaround to make this compile, with thanks to Hisashi Fujinaka for the
nudge.
 1.1  24-Nov-2011  ahoka Import CHFS, which was formerly known as ChewieFS.

CHFS is a file system for flash devices developed by the
Software Engineering Department at University of Szeged, Hungary.

http://chewiefs.sed.hu/

Thanks for all who made it possible.
 1.2.2.2  29-Apr-2012  mrg sync to latest -current.
 1.2.2.1  05-Apr-2012  mrg sync to latest -current.
 1.4.2.4  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4.2.3  30-Oct-2012  yamt sync with head
 1.4.2.2  17-Apr-2012  yamt sync with head
 1.4.2.1  12-Apr-2012  yamt file chfs_subr.c was added on branch yamt-pagecache on 2012-04-17 00:08:54 +0000
 1.7.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.2.1  18-May-2014  rmind sync with head
 1.9.30.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.11.6.1  25-Apr-2020  bouyer Sync with bouyer-xenpvh-base2 (HEAD)

RSS XML Feed