summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-04-03 20:23:50 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2024-05-02 20:24:08 +0300
commit75377ae754c93a312e8430e9c159db3273bb679c (patch)
treed4c82fd852646879425bf7ccd2ee47ff835a8dbf /tools/perf/scripts/python
parentf3851fed07327b6a19e7ff8c2106e2b424f44cca (diff)
downloadlinux-75377ae754c93a312e8430e9c159db3273bb679c.tar.xz
gfs2: Simplify gfs2_read_super
Use submit_bio_wait() instead of hand-rolling our own synchronous wait. Also allocate the BIO on the stack since we're not deep in the call stack at this point. There's no need to kmap the page, since it isn't allocated from HIGHMEM. Turn the GFP_NOFS allocation into GFP_KERNEL; if the page allocator enters reclaim, we cannot be called as the filesystem has not yet been initialised and so has no pages to reclaim. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions