vfs_bio.c (16027) | vfs_bio.c (16363) |
---|---|
1/* 2 * Copyright (c) 1994 John S. Dyson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 4 unchanged lines hidden (view full) --- 13 * documentation and/or other materials provided with the distribution. 14 * 3. Absolutely no warranty of function or purpose is made by the author 15 * John S. Dyson. 16 * 4. This work was done expressly for inclusion into FreeBSD. Other use 17 * is allowed if this notation is included. 18 * 5. Modifications may be freely made to this file if the above conditions 19 * are met. 20 * | 1/* 2 * Copyright (c) 1994 John S. Dyson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 4 unchanged lines hidden (view full) --- 13 * documentation and/or other materials provided with the distribution. 14 * 3. Absolutely no warranty of function or purpose is made by the author 15 * John S. Dyson. 16 * 4. This work was done expressly for inclusion into FreeBSD. Other use 17 * is allowed if this notation is included. 18 * 5. Modifications may be freely made to this file if the above conditions 19 * are met. 20 * |
21 * $Id: vfs_bio.c,v 1.91 1996/05/24 05:21:58 dyson Exp $ | 21 * $Id: vfs_bio.c,v 1.92 1996/05/31 00:41:37 dyson Exp $ |
22 */ 23 24/* 25 * this file contains a new buffer I/O scheme implementing a coherent 26 * VM object and buffer cache scheme. Pains have been taken to make 27 * sure that the performance degradation associated with schemes such 28 * as this is not realized. 29 * --- 1027 unchanged lines hidden (view full) --- 1057 printf("getblk: vmioing file type %d???\n", vp->v_type); 1058#endif 1059 } else { 1060 bp->b_flags &= ~B_VMIO; 1061 } 1062 splx(s); 1063 1064 allocbuf(bp, size); | 22 */ 23 24/* 25 * this file contains a new buffer I/O scheme implementing a coherent 26 * VM object and buffer cache scheme. Pains have been taken to make 27 * sure that the performance degradation associated with schemes such 28 * as this is not realized. 29 * --- 1027 unchanged lines hidden (view full) --- 1057 printf("getblk: vmioing file type %d???\n", vp->v_type); 1058#endif 1059 } else { 1060 bp->b_flags &= ~B_VMIO; 1061 } 1062 splx(s); 1063 1064 allocbuf(bp, size); |
1065#ifdef PC98 1066 /* 1067 * 1024byte/sector support 1068 */ 1069#define B_XXX2 0x8000000 1070 if (vp->v_flag & 0x10000) bp->b_flags |= B_XXX2; 1071#endif |
|
1065 return (bp); 1066 } 1067} 1068 1069/* 1070 * Get an empty, disassociated buffer of given size. 1071 */ 1072struct buf * --- 691 unchanged lines hidden --- | 1072 return (bp); 1073 } 1074} 1075 1076/* 1077 * Get an empty, disassociated buffer of given size. 1078 */ 1079struct buf * --- 691 unchanged lines hidden --- |