Glauber Costa
Glauber Costa
I fail to see what the problem is. Once you open a file, you can use stat-like syscalls to find out in which filesystem it is (have to follow links)....
See the document that Hippo linked ``` Userspace access ================ Direct I/O best practices ------------------------- Users must always take care to use properly aligned and sized IO. This is especially...
@sitano what do your disk report as `minimum_io_size` and `optimal_io_size` ? I think in cases like yours we could use the `physical_block_size` as the write alignment. My fear is that...
I think we should always align writes to 4096. There is very little point in practice of doing small writes. The device alignment is more important for reads.
Hello. You might want to take a look at the StreamReader and StreamWriter structures (in the process of being renamed to `DmaStreamReader` and `DmaStreamWriter`, as we add buffered I/O) They...
I am still struggling a bit to understand what exactly do you propose. It's early and I am still going through my coffee. (having cup 2 of 5 right now...)...
@laa so I went through your request again from the beginning. So what you want is a reimplementation of those specific APIs -> write_all, read_exact, but without taking `&[u8]`? I...
I don't mind having those methods, but I think I would prefer them to have different names to avoid confusion. However, if you do intend to provide the patches I...
Since you are dealing with files, please take a look at https://github.com/DataDog/scipio/issues/141 It just took me a while to figure this one out.
That seems like a good starting point.