Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15993

ofd_commitrw() can leak pages due to failed nodemap

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      	if (cmd == OBD_BRW_WRITE) {
      		struct lu_nodemap *nodemap;
      		__u32 mapped_uid, mapped_gid, mapped_projid;
      
      		nodemap = nodemap_get_from_exp(exp);
      		if (IS_ERR(nodemap))
      			RETURN(PTR_ERR(nodemap));
      

      thus ofd_commitrw_write() (so dt_bufs_put()) won't be called

      Attachments

        Activity

          People

            bzzz Alex Zhuravlev
            bzzz Alex Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: