public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCHSET 5.13 0/2] Cache async read/write and regular file state
@ 2021-03-12 15:35 Jens Axboe
  2021-03-12 15:35 ` [PATCH 1/2] io_uring: don't check for io_uring_fops for fixed files Jens Axboe
  2021-03-12 15:35 ` [PATCH 2/2] io_uring: cache async and regular file state " Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Axboe @ 2021-03-12 15:35 UTC (permalink / raw)
  To: io-uring

Hi,

Patch 1 is just a regular fix/cleanup, there's no need to check for
whether or not a file has io_uring fops if it's registered, as we
explicitly disallow that at registration time.

Patch 2 uses the bottom 3 (or 2 for 32-bit) bits in the file pointer
to cache state that we always use at read/write time. This prevents
digging deep into the file, inode, superblock in the fast path.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-12 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-12 15:35 [PATCHSET 5.13 0/2] Cache async read/write and regular file state Jens Axboe
2021-03-12 15:35 ` [PATCH 1/2] io_uring: don't check for io_uring_fops for fixed files Jens Axboe
2021-03-12 15:35 ` [PATCH 2/2] io_uring: cache async and regular file state " Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox