]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Use filemap_read() to simplify the execution flow
authorYouling Tang <tangyouling@kylinos.cn>
Thu, 25 Apr 2024 09:16:59 +0000 (17:16 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:12 +0000 (19:00 -0400)
commit630d565ddad52c1777ec3b48de04ecdc21004991
tree68a081151490f4447a8c831df6f76a404cb205be
parentda6fa380d369a7e4d61f7a654efb48a018e3e563
bcachefs: Use filemap_read() to simplify the execution flow

Using filemap_read() can reduce unnecessary code execution
for non IOCB_DIRECT paths.

Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io-direct.c