Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2002 00:08:28 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Matt Dillon <dillon@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/lib/libdisk chunk.c libdisk.h
Message-ID:  <XFMail.020107000828.jhb@FreeBSD.org>
In-Reply-To: <200201070747.g077lPr51316@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Jan-02 Matt Dillon wrote:
> dillon      2002/01/06 23:47:25 PST
> 
>   Modified files:
>     lib/libdisk          chunk.c libdisk.h 
>   Log:
>   Modify Delete_Chunk() into Delete_Chunk2() which can take a flags
>   argument.  Leave a compatibility shim for Delete_Chunk().
>   
>   Implement DELCHUNK_RECOVER flag so sysinstall can ask libdisk
>   to recover space when deleting a chunk.

Why not implement a Merge_Chunk() that takes two chunks and tries to delete the
second and move its space into the first.  This would seem to be a cleaner
change in the API.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020107000828.jhb>