The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 8 10:27:04 2022 UTC (10 months ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

s/postion/position/

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 10 20:36:04 2021 UTC (13 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

s/occured/occurred/ in comments, log messages and man pages.

Revision 1.10.26.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:44 2021 UTC (18 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 15 22:39:06 2021 UTC (18 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Make sure that mutex is released before conditional return statements. Fixes PR kern/56242
ok riastradh

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.5.2.3: +0 -10 lines
Diff to previous 1.5.2.3 (colored) next main 1.6 (colored)

update from HEAD

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:16 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.9: +1 -13 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:15 2017 UTC (5 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf
Changes since 1.9: +1 -13 lines
Diff to previous 1.9 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Mon Sep 8 18:57:58 2014 UTC (8 years, 5 months ago) by msaitoh
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull up following revision(s) (requested by he in ticket #74):
	sys/ufs/chfs/chfs_vnode.c: revision 1.11
	sys/ufs/chfs/chfs_readinode.c: revision 1.9
	sys/ufs/chfs/chfs_scan.c: revision 1.5
	sys/ufs/chfs/chfs_gc.c: revision 1.6
	sys/ufs/chfs/ebh.c: revision 1.4
Plug leak in chfs_scan_eraseblock() of the allocated buffer.
Make sure to release it both on success and failure returns.
OK'ed by ttoth@
Plug memory leak in a corner case in chfs_get_data_nodes().
Plug memory leaks in error returns in chfs_readvnode().
Plug memory leak in error returns and normal operation in
chfs_gcollect_pristine().
Plug memory leak in add_peb_to_free() and add_peb_to_in_use()
in case there's a duplicate in the tree.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 1 16:31:17 2014 UTC (8 years, 5 months ago) by he
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: nick-nhusb
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

Plug memory leak in a corner case in chfs_get_data_nodes().

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.5.2.2: +1 -2 lines
Diff to previous 1.5.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.6.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.6.4: +1 -2 lines
Diff to previous 1.2.6.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (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.7.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 20 17:18:38 2013 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, 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, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

remove unused

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:13 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.5.2.1: +2 -2 lines
Diff to previous 1.5.2.1 (colored)

resync with head

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:54 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2.6.3: +2 -2 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored)

sync with (a bit old) head

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 1 11:31:01 2012 UTC (10 years, 2 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, 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.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix a typo in debug output.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:52 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.5: +129 -88 lines
Diff to previous 1.5 (colored)

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

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:58 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.6.2: +188 -129 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 19 12:44:39 2012 UTC (10 years, 3 months ago) by ttoth
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.5: +129 -88 lines
Diff to previous 1.5 (colored)

CHFS comments

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

chfs: fixed truncating

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

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

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 10 09:26:58 2012 UTC (10 years, 5 months ago) by ttoth
Branch: MAIN
Changes since 1.2: +57 -45 lines
Diff to previous 1.2 (colored)

chfs bugfix [node was obsoleted twice]

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:54 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.6.1: +1136 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.2.6.1, Thu Nov 24 21:09:37 2011 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -1136 lines
FILE REMOVED

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

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 24 21:09:37 2011 UTC (11 years, 2 months ago) by agc
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, 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-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp
Branch point for: yamt-pagecache
Changes since 1.1: +11 -6 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, 2 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>