diff options
Diffstat (limited to 'open_issues/git_nfs_mmap.mdwn')
-rw-r--r-- | open_issues/git_nfs_mmap.mdwn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/open_issues/git_nfs_mmap.mdwn b/open_issues/git_nfs_mmap.mdwn index 21067022..e6726dfa 100644 --- a/open_issues/git_nfs_mmap.mdwn +++ b/open_issues/git_nfs_mmap.mdwn @@ -50,4 +50,6 @@ fails, and it isn't prepared to cope with that: This is the [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. There is a `NO_MMAP` conditional in Git's source code, but it is a compile-time -conditional. +conditional. The fallback code in `compat/mmap.c:git_mmap` only supports +`MAP_PRIVATE`, and simply `pread`s in the requested portion of a file. This +could be made a runtime fallback, too. |