RFC removing hard coded 512 byte size from direct I/O.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Btrfs: add multi-device minimum logical block size for direct I/O.fs/ fs/ | +26 | 0 replies | |
| 2/2 | Btrfs: change dio.c to use dio_min_blocksize instead of 512.fs/ | +51 | 0 replies | |
| 2/2 | Btrfs: change dio.c to use dio_min_blocksize instead of 512.fs/ | +51 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] removing hard coded 512 byte size from direct I/O.
The following patches add the field for tracking the smallest device block size in the filesystem and using it instead of the hard coded 512 byte values in dio.c.
I also implemented a simpler test for user misalignment on devices with larger block sizes.
It passes fsx, but I have not tested mixed device block sizes or user vector edge cases. If this code is acceptable, I'll do edge tests before I send the merged V3 dio.c.
jim