[openbeosstorage] Re: DiskDevice API v2.4 remarks
- From: "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx>
- To: openbeosstorage@xxxxxxxxxxxxx
- Date: Sun, 01 Jun 2003 20:15:30 +0200 CEST
On Sun, 01 Jun 2003 18:59:13 +0200 CEST "Ingo Weinhold" <bonefish@xxxxx
-berlin.de> wrote:
> Howdy,
>
> some further remarks from me.
>
> * BPartition* BDiskDeviceJob::Partition(): There is no BPartition
> object, since we only have te partition ID. We would need to allocate
> a
> complete BDiskDevice hierarchy to be able to return a BPartition. I'd
> prefer to just return the partition ID (perhaps rename the method to
> PartitionID()?). If the caller wants an object, there's
> BDiskDeviceRoster::GetPartitionWithID().
>
> * A BDiskDeviceJob type is missing: B_DISK_DEVICE_JOB_SET_PARAMETERS.
>
> * Would watching disk systems make sense? We'll probably have to do
> that in the kernel anyway, so it would take little to implement it.
>
> * BDiskDevice::CommitModifications(): I know, I know, I proposed it,
> but I don't think the template message is that good an idea. It would
> mean passing a flattened version of it to the kernel and then further
> to the registrar (if we indeed implement delivery of kernel
> notification messages there). For rather little benefit, I believe.
Forgot one:
* BPartition::VisitEachDescendent(): My dictionary tells me it should
read VisitEachDescendant. :-)
CU, Ingo
- References:
- [openbeosstorage] DiskDevice API v2.4 remarks
- From: Ingo Weinhold
Other related posts:
- » [openbeosstorage] DiskDevice API v2.4 remarks
- » [openbeosstorage] Re: DiskDevice API v2.4 remarks
- » [openbeosstorage] Re: DiskDevice API v2.4 remarks
- » [openbeosstorage] Re: DiskDevice API v2.4 remarks
- [openbeosstorage] DiskDevice API v2.4 remarks
- From: Ingo Weinhold