Skip to Main Content
IBM System Storage Ideas Portal


This portal is to open public enhancement requests against IBM System Storage products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Future consideration
Created by Guest
Created on Dec 21, 2022

DMAPI dm_getall_disp returns unexpected dispositions


observed on Spectrum Scale 5.1.0 + 5.1.5


For the set of sessions and dispositions:

  1. M1 - session which has called dm_set_disp on the global handle to receive mount events

  2. F1 - session which has called dm_set_disp on an fs (fs1) during a mount event to start listening for DM_EVENT_READ, DM_EVENT_WRITE and DM_EVENT_TRUNCATE events on the filesystem in question

  3. F2 - session which has called dm_set_disp on an fs (fs2) during a mount event to start listening for DM_EVENT_READ, DM_EVENT_WRITE and DM_EVENT_TRUNCATE events on the filesystem in question

while these sessions can be created as above and events are received in the expected places, traversing the disposition information exhibits a number of issues

  • dm_getall_disp on the M1 session returns 2 disps (expect 1 for global handle)

    • further, neither of the 2 fshandles contained in the returned dm_dispinfo are the global handle as expected, and calling dm_get_mountinfo on the mounts in question shows info for fs1 and fs2 respectively

  • dm_getall_disp on the MWF1 or MWF2 sessions returns EINVAL (expect 1 disp for fs1/fs2 respectively)


Alternatively, with the following session setup:

  1. F1 - session which has called dm_set_disp on the global handle to listen for mount events, then set disposition for fs1 during a mount event to start listening for DM_EVENT_READ, DM_EVENT_WRITE and DM_EVENT_TRUNCATE events on the filesystem in question

  2. F2 - session which has called dm_set_disp on the global handle to listen for mount events, then set disposition for fs2 during a mount event to start listening for DM_EVENT_READ, DM_EVENT_WRITE and DM_EVENT_TRUNCATE events on the filesystem in question

Traversing the dispositions setup above shows:

  • dm_getall_disp on the F1 or F2 sessions returns 2 disps: 1 for each fs (expect 1 dis for fs1/fs2 respectively)

From the above results, it seems that DMAPI is returning all dispositions irrespective of the session ID used to set them where the session used for dm_getall_disp is listening for mount events on the global handle.

Also, but of lesser importance: the documentation suggests that DMAPI should successfully return 0 dispositions rather than failing with EINVAL where the session in question has not set any dispositions

Idea priority High