The NetBSD Project

CVS log for src/sys/ufs/chfs/chfs_subr.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / chfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 5 16:30:12 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

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@

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:47 2020 UTC (2 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 16 18:31:53 2020 UTC (3 years ago) by christos
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:24:07 2020 UTC (3 years, 1 month ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 23 21:47:08 2020 UTC (3 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

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.

Revision 1.9.30.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:03 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Merge changes from current as of 20200406

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:13 2019 UTC (3 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Rename uvm_free() -> uvm_availmem().

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 21 13:00:25 2019 UTC (3 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

uvmexp.free -> uvm_free()

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.7.2.1: +1 -3 lines
Diff to previous 1.7.2.1 (colored) next main 1.8 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.4.2.3: +1 -3 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

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")

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 20 17:18:38 2013 UTC (9 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)

remove unused

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:52 2012 UTC (10 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.7: +14 -122 lines
Diff to previous 1.7 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:58 2012 UTC (10 years, 7 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.4.2.2: +22 -208 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 19 12:44:39 2012 UTC (10 years, 7 months ago) by ttoth
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.7: +14 -122 lines
Diff to previous 1.7 (colored)

CHFS comments

Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 22 09:20:13 2012 UTC (10 years, 9 months ago) by ttoth
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.6: +10 -94 lines
Diff to previous 1.6 (colored)

chfs: fixed truncating

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 13 13:12:51 2012 UTC (10 years, 9 months ago) by ttoth
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

chfs fixes
1. nodes are obsoleted only once during truncating a file
2. frags don't stay in pool_cache

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 10 09:26:58 2012 UTC (10 years, 9 months ago) by ttoth
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

chfs bugfix [node was obsoleted twice]

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:05:08 2012 UTC (11 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.2.2.1: +17 -17 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync to latest -current.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:54 2012 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.4.2.1: +540 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.4.2.1, Thu Apr 12 15:31:01 2012 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.4: +0 -540 lines
FILE REMOVED

file chfs_subr.c was added on branch yamt-pagecache on 2012-04-17 00:08:54 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 12 15:31:01 2012 UTC (11 years, 1 month ago) by ttoth
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Branch point for: yamt-pagecache
Changes since 1.3: +17 -17 lines
Diff to previous 1.3 (colored)

using chtype on media instead of vtype
debug.c deleted

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:50 2012 UTC (11 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.2: +23 -23 lines
Diff to previous 1.2 (colored)

sync to latest -current.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:03 2012 UTC (11 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8
Changes since 1.2: +23 -23 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 24 21:09:37 2011 UTC (11 years, 6 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

quick workaround to make this compile, with thanks to Hisashi Fujinaka for the
nudge.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 24 15:51:31 2011 UTC (11 years, 6 months ago) by ahoka
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>