… | |
… | |
631 | operations (E.g. rename). This might not work on all operating |
631 | operations (E.g. rename). This might not work on all operating |
632 | systems or have any specific effect, but usually it makes sure that |
632 | systems or have any specific effect, but usually it makes sure that |
633 | directory changes get written to disc. It works for anything that |
633 | directory changes get written to disc. It works for anything that |
634 | can be opened for read-only, not just directories. |
634 | can be opened for read-only, not just directories. |
635 | |
635 | |
|
|
636 | Future versions of this function might fall back to other methods |
|
|
637 | when "fsync" on the directory fails (such as calling "sync"). |
|
|
638 | |
636 | Passes 0 when everything went ok, and -1 on error. |
639 | Passes 0 when everything went ok, and -1 on error. |
637 | |
640 | |
638 | aio_group $callback->(...) |
641 | aio_group $callback->(...) |
639 | This is a very special aio request: Instead of doing something, it |
642 | This is a very special aio request: Instead of doing something, it |
640 | is a container for other aio requests, which is useful if you want |
643 | is a container for other aio requests, which is useful if you want |