diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-12-20 22:20:05 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-12-20 22:20:05 +0100 |
commit | fc4d1650f3e35a1cff0111ae3808c61d44346f1f (patch) | |
tree | 6be97c865d896e3e49411ede9870410e0c4f6479 /open_issues/git_nfs_mmap.mdwn | |
parent | c77f17cfb827c17de7f1d5318cbbbeea03286715 (diff) | |
download | web-fc4d1650f3e35a1cff0111ae3808c61d44346f1f.tar.gz web-fc4d1650f3e35a1cff0111ae3808c61d44346f1f.tar.bz2 web-fc4d1650f3e35a1cff0111ae3808c61d44346f1f.zip |
glibc/mmap: Extend.
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. |