Skip to content

RFC O_DIRECT locking rework

Chris Mason linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Introduce a place holder page for the pagecache.include/linux/mm.h include/linux/page-flags.h include/linux/pagemap.h +4 more+432 -114 replies
2/3Change O_DIRECT to use placeholdersfs/direct-io.c+56 -590 replies
3/3DIO: don't fall back to buffered writesfs/direct-io.c+32 -83 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] O_DIRECT locking rework

Hello everyone,

A new spin of my DIO locking patches. I've fixed a few bugs in patch 2, and added a new patch to extend the file and fill holes without falling back to buffered.

This was tested on top of Zach's DIO patches, but rediffed on top of Linus' tree for sending (minor changes required). I also tested on top of 2.6.19-rc2-mm2, but my code for inserting/removing placeholders stopped working right. I think this is either a bug in my code or a bug in Nick's RCU stuff, I'm still trying to track it down.

-chris