From owner-freebsd-hackers Thu Jul 9 11:10:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24006 for freebsd-hackers-outgoing; Thu, 9 Jul 1998 11:10:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatewayb.anheuser-busch.com (gatewayb.anheuser-busch.com [151.145.250.253]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA23923; Thu, 9 Jul 1998 11:10:00 -0700 (PDT) (envelope-from Matthew.Alton@anheuser-busch.com) Received: by gatewayb.anheuser-busch.com; id NAA00769; Thu, 9 Jul 1998 13:07:45 -0500 Received: from stlabcexg004.anheuser-busch.com(unknown 151.145.101.160) by gatewayb via smap (V2.1) id xma029793; Thu, 9 Jul 98 13:07:17 -0500 Received: by stlabcexg004.anheuser-busch.com with Internet Mail Service (5.5.1960.3) id <3QYWQC10>; Thu, 9 Jul 1998 19:10:12 +0100 Message-ID: <31B3F0BF1C40D11192A700805FD48BF901776608@STLABCEXG011> From: "Alton, Matthew" To: "'FreeBSD-fs@FreeBSD.ORG'" , "'Hackers@FreeBSD.ORG'" Subject: lfs b_blkno diddling Date: Thu, 9 Jul 1998 19:10:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having some difficulty determining where the physical disk block allocation algorithm is located. Does the lfs code (or ufs for that matter) just use the vnodes provided by the vm system without regard to the placement on disk (i.e. the value of (buf)->b_blkno) or does it somehow control these things. I thought that the ffs im- provements from 4.3BSD involved strategic physical locality of data placement on disk and assumed that this was implemented in the ffs code. I can see where doing a big nasty write to disk beats doing a lot of little writes in lfs - I also assumed that lfs writes tried to en- force contiguity if possible, I just can't see where. The word "strat- egy" crops up all over the place in the code. I'll look into that. The section 9 man pages are really sparse. I'll fix the VOP_* ones when I get this all sorted out :-) Matthew Alton Computer Services - UNIX Systems Administration (314)632-6644 matthew.alton@anheuser-busch.com alton@plantnet.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message