Go to file
Xiaoming Gao 1159977f4d ceph: quota: report root dir quota usage in statfs
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 <lhenriques@suse.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Xiaoming Gao <newtongao@tencent.com>
2020-01-02 12:23:38 +08:00
Documentation ceph: quota: report root dir quota usage in statfs 2020-01-02 12:23:38 +08:00
arch kvm: add kvm_no_pv_ipi kernel parameter 2020-01-02 12:22:04 +08:00
block blkcg: add per blkcg diskstats 2020-01-02 12:19:49 +08:00
certs Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
crypto Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
drivers dm: add support for blkcg diskstats 2020-01-02 12:20:20 +08:00
firmware Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
fs ceph: quota: report root dir quota usage in statfs 2020-01-02 12:23:38 +08:00
include ceph: quota: add initial infrastructure to support cephfs quotas 2020-01-02 12:23:05 +08:00
init Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
ipc Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
kernel sched:fair: fix crash in list_add_leaf_cfs_rq due to bad tmp_alone_branch 2020-01-02 12:22:40 +08:00
lib xfs: add kmem_alloc_by_vmalloc and kmem_alloc_large_dump_stack sysctl 2020-01-02 11:54:24 +08:00
mm arm64: implement ftrace with regs by using patchable-function-entry 2020-01-02 12:14:57 +08:00
net ceph: quota: add initial infrastructure to support cephfs quotas 2020-01-02 12:23:05 +08:00
package/default config: open CONFIG_PARAVIRT 2020-01-02 12:18:43 +08:00
samples Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
scripts Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
security Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
sound Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
tools perf: disable --children by default 2020-01-02 12:20:39 +08:00
usr Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
virt Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
.gitignore Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
COPYING Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
CREDITS Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
Kbuild Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
Kconfig Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
MAINTAINERS Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
Makefile Makefile: modify EXTRA_VERSION to 19 2020-01-02 12:17:51 +08:00
README Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00
backport_remove_lists.txt Init Repo base on 4.14.105 long term, and add base tlinux kernel interfaces 2020-01-02 10:51:04 +08:00

README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.