Filter:

Commits on May 10, 2001

Commits1 commit
0Author
1Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterAvoid unnecessary lseek() calls by cleanups in md.c. mdfd_lstbcnt was not being consulted anywhere, so remove it and remove the _mdnblocks() calls that were used to set it. Change smgrextend interface to pass in the target block number (ie, current file length) --- the caller always knows this already, having already done smgrnblocks(), so it's silly to do it over again inside mdextend. Net result: extension of a file now takes one lseek(SEEK_END) and a write(), not three lseeks and a write.
642107d5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadMay 10, 2001