IBM Support

IZ78548: MEMORY MAPPED IO NOT UPDATING THE NFS FILES FOR LESS THAN A PAGE APPLIES TO AIX 6100-05

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The problem is seen only for an  NFS file with size less
    than a page ......
    When memory mapped IO is done using shared memory to NFS
    file and if the writes are less than a page but beyond
    the
    original size ,the file size never changes...
     The contents of file are also not complete. we can see
    only
    the content upto the original size.
    

Local fix

Problem summary

  • Memory mapped I/O using shared memory produces
    incomplete files in NFS
    

Problem conclusion

  • In functions nfs3_map and nfs3_map_lloff,
    after checking for invalid sid - INVLSID,
    if a shmat() file's (client) size offset is within a page,
    call vm_protectp() to set the protection key for the page
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ78548

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2010-07-02

  • Closed date

    2010-07-02

  • Last modified date

    2013-03-28

  • APAR is sysrouted FROM one or more of the following:

    IZ47869

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U834687

       UP10/08/20 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 March 2013