Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kerneltrap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
kerneltrap
5y ago
https://git.kernel.dk/cgit/fio/tree/t/io_uring.c
2.
▲
by
kerneltrap
5y ago
Not necessarily, while reflink works only within the boundaries of the same filesystem there are other optimizations that can operate across filesystems (even networked ones). For example copy_file_range() [1] allows for copy offloading (de
3.
▲
by
kerneltrap
5y ago
The fastest `cp` is actually doing no data copies at all (relying on copy-on-write), on filesystems with reflink support. Incidentally, coreutils v9.0 cp switched to doing reflinks by default [1], so there's already a faster cp. [1] h
4.
▲
by
kerneltrap
6y ago
Your first point is the correct one. Basically the offset passed to bdev_write_page() was wrong, and has been like that since it was introduced to swap code back in v3.16. In practice this means that the same filesystem corruption could hap