1. 11 5月, 2015 1 次提交
    • A
      new ->follow_link() and ->put_link() calling conventions · 680baacb
      Al Viro 提交于
      a) instead of storing the symlink body (via nd_set_link()) and returning
      an opaque pointer later passed to ->put_link(), ->follow_link() _stores_
      that opaque pointer (into void * passed by address by caller) and returns
      the symlink body.  Returning ERR_PTR() on error, NULL on jump (procfs magic
      symlinks) and pointer to symlink body for normal symlinks.  Stored pointer
      is ignored in all cases except the last one.
      
      Storing NULL for opaque pointer (or not storing it at all) means no call
      of ->put_link().
      
      b) the body used to be passed to ->put_link() implicitly (via nameidata).
      Now only the opaque pointer is.  In the cases when we used the symlink body
      to free stuff, ->follow_link() now should store it as opaque pointer in addition
      to returning it.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      680baacb
  2. 17 4月, 2015 2 次提交
  3. 16 4月, 2015 2 次提交
    • B
      mm: new pfn_mkwrite same as page_mkwrite for VM_PFNMAP · dd906184
      Boaz Harrosh 提交于
      This will allow FS that uses VM_PFNMAP | VM_MIXEDMAP (no page structs) to
      get notified when access is a write to a read-only PFN.
      
      This can happen if we mmap() a file then first mmap-read from it to
      page-in a read-only PFN, than we mmap-write to the same page.
      
      We need this functionality to fix a DAX bug, where in the scenario above
      we fail to set ctime/mtime though we modified the file.  An xfstest is
      attached to this patchset that shows the failure and the fix.  (A DAX
      patch will follow)
      
      This functionality is extra important for us, because upon dirtying of a
      pmem page we also want to RDMA the page to a remote cluster node.
      
      We define a new pfn_mkwrite and do not reuse page_mkwrite because
        1 - The name ;-)
        2 - But mainly because it would take a very long and tedious
            audit of all page_mkwrite functions of VM_MIXEDMAP/VM_PFNMAP
            users. To make sure they do not now CRASH. For example current
            DAX code (which this is for) would crash.
            If we would want to reuse page_mkwrite, We will need to first
            patch all users, so to not-crash-on-no-page. Then enable this
            patch. But even if I did that I would not sleep so well at night.
            Adding a new vector is the safest thing to do, and is not that
            expensive. an extra pointer at a static function vector per driver.
            Also the new vector is better for performance, because else we
            Will call all current Kernel vectors, so to:
              check-ha-no-page-do-nothing and return.
      
      No need to call it from do_shared_fault because do_wp_page is called to
      change pte permissions anyway.
      Signed-off-by: NYigal Korman <yigal@plexistor.com>
      Signed-off-by: NBoaz Harrosh <boaz@plexistor.com>
      Acked-by: NKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Hugh Dickins <hughd@google.com>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dd906184
    • S
      rdma: replace deprecated ifconfig in doc · b962dc0a
      Stephen Hemminger 提交于
      The ifconfig command has been deprecated for many years.
      To encourage new users not to continue using it and learning
      iproute2; the ifconfig should not be used in examples.
      Signed-off-by: NStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      b962dc0a
  4. 12 4月, 2015 3 次提交
  5. 11 4月, 2015 1 次提交
  6. 04 4月, 2015 1 次提交
  7. 04 3月, 2015 1 次提交
  8. 01 3月, 2015 1 次提交
  9. 24 2月, 2015 1 次提交
  10. 23 2月, 2015 1 次提交
  11. 17 2月, 2015 6 次提交
  12. 13 2月, 2015 3 次提交
  13. 12 2月, 2015 3 次提交
  14. 11 2月, 2015 3 次提交
  15. 06 2月, 2015 1 次提交
  16. 05 2月, 2015 1 次提交
    • C
      nfsd: pNFS block layout driver · 8650b8a0
      Christoph Hellwig 提交于
      Add a small shim between core nfsd and filesystems to translate the
      somewhat cumbersome pNFS data structures and semantics to something
      more palatable for Linux filesystems.
      
      Thanks to Rick McNeal for the old prototype pNFS blocklayout server
      code, which gave a lot of inspiration to this version even if no
      code is left from it.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      8650b8a0
  17. 04 2月, 2015 1 次提交
  18. 03 2月, 2015 1 次提交
  19. 29 1月, 2015 1 次提交
  20. 14 1月, 2015 1 次提交
  21. 09 1月, 2015 1 次提交
  22. 08 1月, 2015 1 次提交
  23. 30 12月, 2014 1 次提交
  24. 13 12月, 2014 2 次提交