patchCompact Disc Input and Control Library - Patches: patch #10169, Multiprocess compatible...


patch #10169: Multiprocess compatible get_media_changed_linux using the new CDROM_TIMED_MEDIA_CHANGED ioctl

Submitter:  None
Submitted:  Tue 11 Jan 2022 01:15:43 PM UTC
Category:  libcdio Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  rocky Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Sat 29 Jan 2022 02:01:49 PM UTC, comment #2: 

Thanks for confirming. Closing then.

Rocky Bernstein <rocky>
Project Administrator
Sun 23 Jan 2022 09:16:42 PM UTC, comment #1: 

Thanks - the patch should be applied now in 96a1030c

Rocky Bernstein <rocky>
Project Administrator
Tue 11 Jan 2022 01:15:43 PM UTC, original submission:  

Previously get_media_changed under linux only indicated a media change for one of all concurrently requesting processes due to a shortcoming of the kernels CDROM_MEDIA_CHANGED ioctl request.

The new CDROM_TIMED_MEDIA_CHANGE ioctl introduced with Linux v5.16
now allows media change detection to work robustly for multiple processes.
This patch adapts libcdio to use this new ioctl request if compiled
against kernel v5.16 or newer. It retains the old behavior for older



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rocky (Updated the item)
  • -email is unavailable- added by lumip

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-29 rocky Open/ClosedOpen Closed
    2022-01-23 rocky StatusNone Done
        Assigned toNone rocky
    2022-01-11 lumip Carbon-Copy- Added lumip
    2022-01-11 None Attached File- Added 0001-Multiprocess-robust-cd-change-detection.patch, #52643

    Back to the top

    Powered by Savane 3.9