05 Jun, 2018

1 commit


02 Apr, 2018

2 commits

  • This commit changes statfs default behaviour when reporting usage
    statistics. Instead of using the overall filesystem usage, statfs now
    reports the quota for the filesystem root, if ceph.quota.max_bytes has
    been set for this inode. If quota hasn't been set, it falls back to the
    old statfs behaviour.

    A new mount option is also added ('noquotadf') to disable this behaviour.

    Signed-off-by: Luis Henriques
    Reviewed-by: "Yan, Zheng"
    Signed-off-by: Ilya Dryomov

    Luis Henriques
     
  • This patch adds the infrastructure required to support cephfs quotas as it
    is currently implemented in the ceph fuse client. Cephfs quotas can be
    set on any directory, and can restrict the number of bytes or the number
    of files stored beneath that point in the directory hierarchy.

    Quotas are set using the extended attributes 'ceph.quota.max_files' and
    'ceph.quota.max_bytes', and can be removed by setting these attributes to
    '0'.

    Link: http://tracker.ceph.com/issues/22372
    Signed-off-by: Luis Henriques
    Reviewed-by: "Yan, Zheng"
    Signed-off-by: Ilya Dryomov

    Luis Henriques
     

20 Feb, 2017

1 commit

  • This patch sets the io_pages bdi hint based on the rsize mount option.
    Without this patch large buffered reads (request size > max readahead)
    are processed sequentially in chunks of the readahead size (i.e. read
    requests are sent out up to the readahead size, then the
    do_generic_file_read() function waits until the first page is received).

    With this patch read requests are sent out at once up to the size
    specified in the rsize mount option (default: 64 MB).

    Signed-off-by: Andreas Gerstmayr
    Acked-by: Jeff Layton
    Signed-off-by: Yan, Zheng

    Andreas Gerstmayr
     

03 Oct, 2016

1 commit


13 Jan, 2012

1 commit

  • Enable/disable use of the dentry dir 'complete' flag via a mount option.
    This lets the admin control whether ceph uses the dcache to satisfy
    negative lookups or readdir when it has the entire directory contents in
    its cache.

    This is purely a performance optimization; correctness is guaranteed
    whether it is enabled or not.

    Reviewed-by: Christoph Hellwig
    Signed-off-by: Sage Weil

    Sage Weil
     

23 Apr, 2010

1 commit


30 Mar, 2010

1 commit


23 Mar, 2010

1 commit


07 Oct, 2009

1 commit