diff options
| author | Al Viro <[email protected]> | 2022-05-22 13:39:27 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2022-06-10 20:05:15 +0000 |
| commit | 91b94c5d6ae55d1161633047ffeea644b110b35f (patch) | |
| tree | 98d75fe560768efc8a0d4d15df528bd9673d31dc /fs/file_table.c | |
| parent | struct file: use anonymous union member for rcuhead and llist (diff) | |
| download | kernel-91b94c5d6ae55d1161633047ffeea644b110b35f.tar.gz kernel-91b94c5d6ae55d1161633047ffeea644b110b35f.zip | |
iocb: delay evaluation of IS_SYNC(...) until we want to check IOCB_DSYNC
New helper to be used instead of direct checks for IOCB_DSYNC:
iocb_is_dsync(iocb). Checks converted, which allows to avoid
the IS_SYNC(iocb->ki_filp->f_mapping->host) part (4 cache lines)
from iocb_flags() - it's checked in iocb_is_dsync() instead
Reviewed-by: Christian Brauner (Microsoft) <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
