summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_alloc.c
AgeCommit message (Expand)AuthorFilesLines
2021-03-11spellingjsg1-2/+2
2020-06-20With filesystem having many cylinder groups and many inodes per cg theotto1-26/+31
2020-05-29When the preferred cylinder group if full scan forward (wrapping if needed)otto1-14/+15
2020-05-28Make generation numbers unsigned and fill them using a random numberotto1-10/+8
2020-02-21Use proper function to get a timestamp, as time_second isn't safe;otto1-6/+21
2019-07-19getblk(9): tsleep(9) -> tsleep_nsec(9); ok visa@cheloha1-2/+2
2016-05-23Use arc4random_uniform() instead of arc4random() to avoid modulus bias.tb1-2/+2
2016-05-23VOP_REALLOCBLKS() and related code is unused since the removal ofnatano1-625/+1
2015-11-28move buffer size adjustment to buf_adjcnt - from Walter Netobeck1-4/+4
2015-09-27lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */guenther1-2/+1
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2014-11-18move arc4random prototype to systm.h. more appropriate for most codetedu1-3/+1
2014-09-14remove uneeded proc.h includesjsg1-2/+1
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hderaadt1-3/+1
2014-05-22From FreeBSD: the second argument to UFS_UPDATE/ffs_update is just aguenther1-3/+3
2014-01-25ufs_setattr() was assuming that the flag bits that indicateguenther1-2/+2
2013-12-12replace old bcopy/bzero with standard functions. ok kettenistedu1-4/+4
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tkrw1-13/+15
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt1-50/+50
2013-06-08KNFbeck1-7/+7
2013-05-30UFS does't do inode numbers >2^32, so use a smaller type internally,guenther1-8/+8
2013-04-23change ffs layout policy. try to pack meta data in close to the start oftedu1-39/+178
2011-09-18Fix more printf format string bugs in sys/ufs.bluhm1-4/+4
2011-07-04bread does nothing with its ucred argument. remove it. ok matthewtedu1-8/+7
2011-07-03correctify NULL 0 confusiontedu1-2/+2
2010-07-13fix overflow of dirsize; from FreeBSD; PR 6426; ok beck@ millert@otto1-2/+5
2010-01-16Remove dead assignment and newly created unused variable.chl1-3/+1
2009-01-17Use proper assignment macros for dinode manipulations instead ofgrange1-2/+4
2008-08-08use cgbase() instead of doing arthmetic on fs_fpg when calculatingthib1-4/+4
2008-08-02fix printf format specifiers; ok krw@ millert@ deraadt@otto1-15/+15
2008-07-22Use cgbase() instead of doing arithmetic on fs_fpg, for the former doesmiod1-9/+7
2008-04-10the ffs code is a bit noisy when it runs out of inodes/space etc;thib1-10/+23
2008-01-22with a lot of fragments per cylinder group and lots of cylinderotto1-6/+8
2008-01-05Make the ffs code 64-bit disk block number clean. Based on a diffotto1-57/+56
2007-11-09Code to read in the cylinder groups is duplicated in a few spots,thib1-67/+48
2007-09-10When selecting cylinder groups as candidates for new directory creationthib1-18/+9
2007-06-22Update ffs[1/2] time last written for cg's inthib1-1/+3
2007-06-01pedro ok'd this ~3500 line diff which removes the vop argumentderaadt1-9/+3
2007-06-01Nuke 'ufs_lbn_t', okay otto@ deraadt@ krw@ beck@pedro1-2/+2
2007-06-01cleanup of 'ufs1_daddr_t', first round, okay deraadt@pedro1-6/+6
2007-06-01convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibderaadt1-7/+7
2007-05-26Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@pedro1-8/+19
2007-04-29enforce -Wdeclaration-after-statement by handderaadt1-3/+5
2007-03-23Make FFS allocation functions non-static, okay miod@ mk@ thib@pedro1-20/+20
2007-01-26remove ancient device-specific trick from ffs1_blkpref()pedro1-31/+4
2007-01-07add some commentssturm1-4/+12
2007-01-06stop printing messages when changing space/time optimizations.tedu1-6/+2
2006-12-28Zap nextgennumber, unused since LFS went up into the attic.thib1-3/+1
2006-04-02Two changes in the FFS2 lazy inode allocation code:pedro1-3/+17
2006-04-02Cope with FFS2's lazy inode allocation policy, adapted from FreeBSDpedro1-1/+29