Patrick Stewart

Results 24 comments of Patrick Stewart

I think that in practice people who want to turn on RAW_IO know that's what they want to do, the constraints based API makes it unnecessarily hard to know if...

Perhaps you could make your own wrapper for the shared_ptr that releases the GIL and the shared_ptr during destruction, something like: class Object; shared_ptr unchangeable_func(); template class Wrapper { shared_ptr...

So there's a window where there's nothing mapped if you do the following? auto f = llfio::mapped_temp_inode(1

Yea, I'm fine if it's just a documentation issue. Whatever `mapped_file_handle` does when you create it with a reservation then `truncate` to successively larger sizes seems to work fine for...

I'm not using a specific backing file, just a temp_inode. The library seems to handle making a zero length file and only mapping it once it's truncated to some size...

I don't think that test failure is due to this PR

I would have probably been using windows and clang 16. I can try it again later if it would help.

Yes, basically. Though I was only thinking about doing it once. I haven't thought through all the implications, In my case I create a temporary file which the user can...

Yep, that seems to work fine for me. Thanks for the quick response.