CVS commit: src/sys/miscfs/specfs

2020-12-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Dec 25 09:28:56 UTC 2020 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: When reading from a block device, queue parallel block requests to fill a buffer with breadn. To generate a diff of this commit: cvs

CVS commit: src/sys/miscfs/specfs

2020-04-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 13 20:02:27 UTC 2020 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: when determining I/O block size for VBLK device, only use pi_bsize returned by DIOCGPARTINFO if it's bigger than DEV_BSIZE and less th

CVS commit: src/sys/miscfs/specfs

2017-06-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jun 24 12:14:21 UTC 2017 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Refuse to open a block device with zero open count when it has a mountpoint set. This may happen after forced detach or unplug of a mo

CVS commit: src/sys/miscfs/specfs

2017-04-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Apr 12 06:43:56 UTC 2017 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Make the non-DIAGNOSTIC version compile To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/miscfs/specfs/spec_vno

CVS commit: src/sys/miscfs/specfs

2017-03-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Mar 1 10:46:05 UTC 2017 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Add a diagnostic test for buffers written to a block device holding a read-only mounted file system. This will become a KASSERT in the

CVS commit: src/sys/miscfs/specfs

2016-09-08 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Sep 8 08:45:52 UTC 2016 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Revert rev 1.164. This will be redone differently (using "dummy" modules). This implementation requires changes to a base kernel in

CVS commit: src/sys/miscfs/specfs

2016-09-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Sep 8 00:07:48 UTC 2016 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: if_config processing wants to auto-load modules named with an if_ prefix, while specfc wants to auto-load modules without the prefix.

CVS commit: src/sys/miscfs/specfs

2016-04-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 4 08:03:54 UTC 2016 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Avoid a race with spec_revoke for the assertion too. Final fix for PR kern/50467 Panic from disconnecting phone while reading its cont

CVS commit: src/sys/miscfs/specfs

2016-03-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 26 14:58:13 UTC 2016 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Whhen spec_strategy() extracts v_rdev take care to avoid a race with spec_revoke. Fixes PR kern/50467 Panic from disconnecting phone w

CVS commit: src/sys/miscfs/specfs

2016-01-05 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jan 5 09:07:19 UTC 2016 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Fix a couple of checks for kernel vm_space, and convert the 'naked panic" code to KASSERT/KASSERTMSG. Thanks, Taylor! To generate

CVS commit: src/sys/miscfs/specfs

2015-12-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Dec 23 00:13:57 UTC 2015 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Revert previous To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/sys/miscfs/specfs/spec_vnops.c Please note that

CVS commit: src/sys/miscfs/specfs

2015-12-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Dec 22 23:54:37 UTC 2015 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: If we attempt to autoload a driver module, make sure we return an error if it fails. Otherwise we might end up calling a builtin-but-

CVS commit: src/sys/miscfs/specfs

2015-12-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 8 01:57:14 UTC 2015 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: unfortunately it is not that easy to get rid of DIOCGPART. DTRT for the raw partition and print a warning if we overflowed. I guess th

CVS commit: src/sys/miscfs/specfs

2015-12-04 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Dec 5 07:59:34 UTC 2015 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: messing with uninitialized structs is a bad thing To generate a diff of this commit: cvs rdiff -u -r1.154 -r1.155 src/sys/miscfs/spec

CVS commit: src/sys/miscfs/specfs

2015-12-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 4 23:54:06 UTC 2015 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Use DIOCGMEDIASIZE instead of DIOCGPART so that we are not limited to 2G. XXX: All DIOCGPART code needs to be removed... XXX: pullup-7

CVS commit: src/sys/miscfs/specfs

2015-06-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 29 16:25:49 UTC 2015 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Revert previous, and explain why. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/sys/miscfs/specfs/spec_vnops.c

CVS commit: src/sys/miscfs/specfs

2015-06-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 29 15:39:40 UTC 2015 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: CID 1308957: Fix wrong sizeof() To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149 src/sys/miscfs/specfs/spec_vnops.c

CVS commit: src/sys/miscfs/specfs

2014-07-25 Thread David A. Holland
Module Name:src Committed By: dholland Date: Fri Jul 25 08:19:19 UTC 2014 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: Implement spec_fdiscard() using bdev_discard() and cdev_discard(). Also define spec_fallocate() to genfs_eopnotsupp(). To

CVS commit: src/sys/miscfs/specfs

2013-07-20 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Jul 20 23:00:08 UTC 2013 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: oops, spell b_bcount properly To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/miscfs/specfs/spec_vnops.c Pl

CVS commit: src/sys/miscfs/specfs

2013-07-20 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Jul 20 22:42:59 UTC 2013 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: In spec_strategy, if fscow_run() fails, set b_resid along with b_error to avoid panic in biodone. Noticed by riastradh. To generate

CVS commit: src/sys/miscfs/specfs

2013-06-16 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jun 16 20:46:24 UTC 2013 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Hang a warning banner on some nasty code I just found. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/sys/miscf

CVS commit: src/sys/miscfs/specfs

2013-04-20 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Apr 21 04:55:40 UTC 2013 Modified Files: src/sys/miscfs/specfs: specdev.h Log Message: add missing spec_whiteout To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/miscfs/specfs/specdev.h Please note th

CVS commit: src/sys/miscfs/specfs

2010-04-13 Thread Adam Hoka
Module Name:src Committed By: ahoka Date: Tue Apr 13 11:54:43 UTC 2010 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Revert my last change, it's not The Right Thing [tm]. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/miscfs/sp

CVS commit: src/sys/miscfs/specfs

2010-04-12 Thread Adam Hoka
Module Name:src Committed By: ahoka Date: Tue Apr 13 01:15:56 UTC 2010 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: Autoload modules with any class. This fixes autoloading of pf, zfs and possibly others. To generate a diff of this commit: cvs rdiff -