summaryrefslogtreecommitdiff
path: root/ext2fs/getblk.c
AgeCommit message (Collapse)Author
2000-03-102000-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* balloc.c (ext2_free_blocks, ext2_new_block): Fix formats to avoid -Wformat warnings. * getblk.c (ext2_alloc_block, inode_getblk, ext2_getblk): Likewise. * ialloc.c (ext2_count_free_inodes): Likewise. * truncate.c (trunc_direct): Likewise. * pager.c (pending_blocks_write, diskfs_grow): Likewise.
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
1999-05-231999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ialloc.c (diskfs_alloc_node): Frob printf format to suppress warning. * getblk.c (ext2_getblk): Likewise. * balloc.c (ext2_free_blocks): Likewise. * hyper.c (get_hypermetadata): Likewise.
1996-04-11Replace references to the NUMBER field in a node's disknode structures withMiles Bader
references to the CACHE_ID field in the node.
1996-01-14(inode_getblk, block_getblk): Set dn_set_mtime too.Miles Bader
1995-09-15u32 --> block_tMiles Bader
1995-05-12Change uses of the ext2_{warning,error,panic} functions to not have theMiles Bader
initial function name argument (it's now supplied automagically).
1995-05-10(block_getblk, inode_getblk): Return ENOSPC instead of EIO when we can'tMiles Bader
allocate a new block.
1995-05-09entered into RCSMiles Bader
1995-05-01Formerly getblk.c.~15~Miles Bader
1995-04-29Formerly getblk.c.~14~Miles Bader
1995-04-27Formerly getblk.c.~13~Miles Bader
1995-04-24Formerly getblk.c.~12~Miles Bader
1995-04-22Formerly getblk.c.~11~Miles Bader
1995-04-20Formerly getblk.c.~10~Miles Bader
1995-04-17Formerly getblk.c.~9~Miles Bader
1995-04-16Formerly getblk.c.~8~Miles Bader
1995-04-16Formerly getblk.c.~7~Miles Bader
1995-04-16Formerly getblk.c.~6~Miles Bader
1995-04-16Formerly getblk.c.~5~Miles Bader
1995-04-15Formerly getblk.c.~4~Miles Bader
1995-04-12Formerly getblk.c.~3~Miles Bader
1995-04-12Formerly getblk.c.~2~Miles Bader
1995-04-12Initial revisionMiles Bader