diff options
author | 2021-12-15 23:48:33 +0000 | |
---|---|---|
committer | 2022-03-01 18:26:36 +0100 | |
commit | 083db6fd3e73fc4f9ee74d2da1012a94216d6a60 (patch) | |
tree | 9bc6936bfd60b7c05c04abcbe225b68a8ff0d465 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ceph: make ceph_netfs_issue_op() handle inlined data (diff) | |
download | wireguard-linux-083db6fd3e73fc4f9ee74d2da1012a94216d6a60.tar.xz wireguard-linux-083db6fd3e73fc4f9ee74d2da1012a94216d6a60.zip |
ceph: uninline the data on a file opened for writing
If a ceph file is made up of inline data, uninline that in the ceph_open()
rather than in ceph_page_mkwrite(), ceph_write_iter(), ceph_fallocate() or
ceph_write_begin().
This makes it easier to convert to using the netfs library for VM write
hooks.
Should this also take the inode lock for the duration on uninlining to
prevent a race with truncation?
[ jlayton: fix up folio locking, update i_inline_version after write ]
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions