Opened 12 years ago

Closed 10 years ago

#1052 closed enhancement (fixed)

Disk Device Manager -- Implement the Notification Mechanism

Reported by: bonefish Owned by: bonefish
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking: #2629
Has a Patch: no Platform: All

Description

The disk device manager needs to notify userland application of two kinds of events: Changes to disk devices and partitions (added/removed devices, moved/resized/added/delete/initialized/otherwise changed partitions), and progress of disk device jobs. This notification mechanism should also be made available within the kernel.

The following tasks have to be performed:

  • Implement the core of the notification mechanism in src/system/kernel/disk_device_manager.
  • Implement the required syscalls to provide access to the notification mechanism for the userland API.
  • Implement the respective parts of the userland API (BDiskDeviceRoster::StartWatching() and related methods).
  • Provide access to the notification mechanism interface from the kernel. Both asynchronous and synchronous notifications should be supported. In case of disk device jobs it should be possible to synchronously wait for the termination of a disk device job (with/without timeout).

Change History (4)

comment:1 Changed 11 years ago by bonefish

Milestone: R1R1/alpha

comment:2 Changed 10 years ago by axeld

Blocking: 2629 added

(In #2629) This is also not very surprising, though (#1052).

comment:3 Changed 10 years ago by stippi

Milestone: R1/alpha1R1

comment:4 Changed 10 years ago by axeld

Resolution: fixed
Status: newclosed

More or less implemented since hrev29582.

Note: See TracTickets for help on using tickets.