Remove sync_file_range()

After hearing horror stories from a trusted colleague, I don't think
this is the kind of API we want to be supporting. Also SQLite wisdom
regarding fdatasync() has been added to the documentation.
This commit is contained in:
Justine Tunney 2023-11-15 23:21:22 -08:00
parent 8318d67503
commit 8f5e516b39
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
14 changed files with 8 additions and 65 deletions

View file

@ -1461,10 +1461,6 @@ syscon misc EFD_CLOEXEC 0x080000 0x080000 0 0 0 0 0 0
syscon misc EFD_NONBLOCK 0x0800 0x0800 0 0 0 0 0 0
syscon misc EFD_SEMAPHORE 1 1 0 0 0 0 0 0
syscon misc SYNC_FILE_RANGE_WAIT_AFTER 4 4 0 0 0 0 0 0
syscon misc SYNC_FILE_RANGE_WAIT_BEFORE 1 1 0 0 0 0 0 0
syscon misc SYNC_FILE_RANGE_WRITE 2 2 0 0 0 0 0 0
syscon misc TEST_UNIT_READY 0 0 0 0 0 0 0 0
syscon misc TFD_CLOEXEC 0x080000 0x080000 0 0 0 0 0 0
syscon misc TFD_NONBLOCK 0x0800 0x0800 0 0 0 0 0 0
@ -1807,7 +1803,6 @@ syscon nr __NR_faccessat 0x010d 0x0030 0x20001d2 0x01d2 0x01e9 0x013
syscon nr __NR_unshare 0x0110 0x0061 0xfff 0xfff 0xfff 0xfff 0xfff 0xfff
syscon nr __NR_splice 0x0113 0x004c 0xfff 0xfff 0xfff 0xfff 0xfff 0xfff
syscon nr __NR_tee 0x0114 0x004d 0xfff 0xfff 0xfff 0xfff 0xfff 0xfff
syscon nr __NR_sync_file_range 0x0115 0x0054 0xfff 0xfff 0xfff 0xfff 0xfff 0xfff
syscon nr __NR_vmsplice 0x0116 0x004b 0xfff 0xfff 0xfff 0xfff 0xfff 0xfff
syscon nr __NR_migrate_pages 0x0100 0x00ee 0xfff 0xfff 0xfff 0xfff 0xfff 0xfff
syscon nr __NR_move_pages 0x0117 0x00ef 0xfff 0xfff 0xfff 0xfff 0xfff 0xfff