Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip 7958 #1594

Merged
merged 9 commits into from Apr 8, 2014
Merged

wip 7958 #1594

merged 9 commits into from Apr 8, 2014

Commits on Apr 4, 2014

  1. client: implement RDCACHE reference tracking

    make the code be able to track Fc caps used by aysnc buffer reads
    
    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    701c22a View commit details
    Browse the repository at this point in the history
  2. client: hold Fcr caps during readahead

    Fcr caps prevent the file from being truncated.
    
    Fixes: #7958
    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    1538a98 View commit details
    Browse the repository at this point in the history
  3. client: assign implemented caps to caps field of MClientCaps

    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    2d5bd84 View commit details
    Browse the repository at this point in the history
  4. client: properly retain used caps

    Pass properly 'retain' to Client::send_cap() because it is used to
    adjust cap->issued.
    
    Also make Client::encode_inode_release() not release used/dirty caps.
    
    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    954007e View commit details
    Browse the repository at this point in the history
  5. client: drop Fr cap before gettattr CEPH_STAT_CAP_SIZE

    When MDS receives the getattr request, corresponding inode's filelock
    can be in unstable state which waits for client's Fr cap.
    
    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    abc19dd View commit details
    Browse the repository at this point in the history
  6. client: cleanup Client::_invalidate_inode_cache()

    drop parameter 'keep_caps'
    
    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    4be0b6b View commit details
    Browse the repository at this point in the history
  7. ObjectCacher: assert no waiter when remove buffer head

    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    f68e60e View commit details
    Browse the repository at this point in the history
  8. client: fix null pointer dereference in Client::unlink

    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 4, 2014
    Copy the full SHA
    d121678 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2014

  1. client: release clean pages if no open file want RDCACHE

    Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
    Yan, Zheng committed Apr 5, 2014
    Copy the full SHA
    82015e4 View commit details
    Browse the repository at this point in the history