755 Commits

Author SHA1 Message Date
Bill Zissimopoulos
2ffb8a1c97
sys: FSP_FSCTL_QUERY_WINFSP
The FSP_FSCTL_QUERY_WINFSP code provides a simple method to determine if
the file system backing a file is a WinFsp file system. To use issue a

    DeviceIoControl(Handle, FSP_FSCTL_QUERY_WINFSP, 0, 0, 0, 0, &Bytes, 0)

If the return value is TRUE this is a WinFsp file system.
2020-05-24 21:04:28 -07:00
Bill Zissimopoulos
b4c39f656c
dll,fuse: allow dir buffer entry invalidation
The FUSE implementation of ReadDirectory issues readdir followed
by a slew of getattr. In the current implementation if a getattr fails
the whole readdir operation fails.

This commit adds the ability to invalidate individual entries in the
directory buffer. Entries for which getattr fails are now marked invalid
rather than fail the overall ReadDirectory operation.

See #292
2020-04-13 15:52:03 -07:00
Bill Zissimopoulos
10f4df519c
dotnet: RejectIrpPriorToTransact0 2020-02-07 17:07:50 -08:00
Bill Zissimopoulos
0650cabc47
refactor: shared->shared/um, ku->shared/ku 2020-02-07 15:28:25 -08:00
Bill Zissimopoulos
0901fb6477
inc,sys,tst: FSP_FSCTL_VOLUME_PARAMS::RejectIrpPriorToTransact0 2020-02-03 16:43:15 -08:00
Bill Zissimopoulos
bf6d56ceac
inc,sys,tst: FSP_FSCTL_VOLUME_PARAMS::RejectIrpPriorToTransact0 2020-02-03 16:38:55 -08:00
Bill Zissimopoulos
51350d5a42
inc,sys,tst: FSP_FSCTL_VOLUME_PARAMS::RejectIrpPriorToTransact 2020-02-03 14:59:23 -08:00
Bill Zissimopoulos
aedf01a384
update source copyright for 2020 2020-01-02 17:50:40 -08:00
Bill Zissimopoulos
9dc774d306 tst: winfsp-tests: ResilientRemoveDirectoryW 2019-12-16 23:07:04 -08:00
Bill Zissimopoulos
3d9fc467ef
tools: build.bat: winfsp-tests zip file 2019-11-16 07:26:07 +00:00
Bill Zissimopoulos
847eab3da4
tst: memfs-fuse3: #if0 ioctl 2019-10-21 20:21:36 -07:00
Bill Zissimopoulos
82a8545d8f
tst: memfs-fuse3: fix narrow conversion on x86 builds 2019-10-09 14:42:39 -07:00
Bill Zissimopoulos
79be3e445a
tst: memfs-fuse3: accurately compute current time 2019-10-09 11:39:41 -07:00
Bill Zissimopoulos
ce20747534
tst: memfs-fuse3: testing 2019-10-07 18:32:25 -07:00
Bill Zissimopoulos
d3d75bf977
tst: add memfs-fuse3 file system 2019-10-07 14:24:18 -07:00
John Oberschelp
a99fa512d4
Fixed issues noted at the PR review 2019-09-10 16:00:34 -07:00
John Oberschelp
a6800dd73d
Fixed issues noted at the PR review 2019-09-10 15:59:48 -07:00
John Oberschelp
aa9354773b
Fixed issues noted at the PR review 2019-09-10 15:58:35 -07:00
Bill Zissimopoulos
05b37c744b
sys,dll: only user mode sends MountManager IOCTL's
(except for cleanup in FspMountdevFini)
2019-09-08 17:45:00 -07:00
Bill Zissimopoulos
1d15c9546b
Merge branch 'pvt-sqlfix2' 2019-09-08 11:05:17 -07:00
Bill Zissimopoulos
97ffa741b2
tst: volpath-test: fix silly mistake 2019-09-07 11:56:34 -07:00
Bill Zissimopoulos
073645db3b
tst: fix tests broken by new mountmgr func 2019-09-07 11:39:06 -07:00
Bill Zissimopoulos
4655926d03
sys, dll: mount manager support 2019-09-06 14:24:00 -07:00
Bill Zissimopoulos
565caebe4c
sys,dll: FspFileSystemSetMountPoint: mount manager support 2019-09-05 19:58:14 -07:00
Bill Zissimopoulos
89ec3e6733
ku: UUID v5 generation 2019-09-04 13:45:53 -07:00
Bill Zissimopoulos
dbdfaeee1f
tst: winfsp-tests: GetVolumePathName testing 2019-08-23 16:00:35 +01:00
John Oberschelp
19c320350f
Add persistence.cpp and common.h 2019-08-03 17:55:29 -07:00
John Oberschelp
d60b1de430
Add persistence.cpp and common.h 2019-08-03 17:54:26 -07:00
John Oberschelp
6a7b6c77c6
Create common.h 2019-08-03 12:22:57 -07:00
John Oberschelp
16b1b2b349
Create persistence.cpp
Create persistence.cpp to supply functionality needed for volume persistence within a memory-mapped file:
    memory management
    sorted sets
    offsets that don’t use a pointer
2019-08-03 12:19:56 -07:00
John Oberschelp
f181593f49
Add persistence to Airfs
Adds persistence to Airfs; stores the volume in a file.
The interface has changed slightly. Pass...
-N VolumeName ( for example C:\Users\foo\Desktop\test.air )
-n MapName    ( for example Local\Airfs )
... in place of the no longer used...
-n MaxFileNodes
2019-08-03 11:52:47 -07:00
Bill Zissimopoulos
a73f1b9559 launcher: path transform language 2019-07-09 13:26:07 -07:00
Bill Zissimopoulos
f0d7e5b322
Merge pull request #237 from dworkin/feature/async-dotnet
Async I/O for dotnet
2019-06-21 14:48:30 -07:00
Felix A. Croes
bfd8dca62d Delay unmounting until all Slowio tasks are done.
Preventing a crash when unmounting a filesystem with pending Slowio.
2019-06-20 15:49:02 +02:00
Bill Zissimopoulos
f78b3464ce sys: meta: fix rare memory leak 2019-06-05 20:43:12 -07:00
Felix A. Croes
02fd6906c2 Revert making SeekableReadDirectory virtual.
This would be an API-breaking change that is actually pointless.
Override ReadDirectory instead, as intended.
2019-06-05 09:24:27 +02:00
Felix A. Croes
879fa2464f Add asynchronous I/O testing to memfs-dotnet.
Make SeekableReadDirectory virtual, so that it can be overridden.
2019-06-04 15:58:54 +02:00
Bill Zissimopoulos
c01402443d wslinux support: ATOMIC_CREATE_ECP_CONTEXT 2019-04-27 15:30:57 -07:00
Bill Zissimopoulos
195f3bf92d build: VS2015 - VS2019 round-tripping: LatestTargetPlatformVersion 2019-04-26 09:44:30 -07:00
Bill Zissimopoulos
369da895d3 build: VS2015 - VS2019 round-tripping 2019-04-25 16:43:53 -07:00
Bill Zissimopoulos
f6e49a11c8 .gitignore: add .vs rule 2019-04-18 17:45:11 -07:00
Bill Zissimopoulos
a08fdccb17 sys: FspSendQueryEaIrp: fix EA related BSOD 2019-04-17 16:04:44 -07:00
Bill Zissimopoulos
859d4250c3 tst: winfsp-tests: wsl: fix WOW64 failure 2019-04-17 15:04:53 -07:00
Bill Zissimopoulos
ce83619728 sys: FileStatLxInformation and friends 2019-04-15 15:04:31 -07:00
Bill Zissimopoulos
04b3675f12 update .gitignore files 2019-04-03 22:39:25 -07:00
Bill Zissimopoulos
d2381f3425
tst: passthrough-fuse3: xattr 2019-03-26 17:36:02 -07:00
Bill Zissimopoulos
4e7d2fd204
tst: passthrough-fuse: xattr 2019-03-26 17:25:46 -07:00
Bill Zissimopoulos
88896c2fd8
dotnet: interop: FileInfo.EaSize is now a property 2019-03-21 21:42:27 -07:00
Bill Zissimopoulos
46210b0c48
tst: passthrough-dotnet: fix compilation problem 2019-03-21 19:48:06 -07:00
Bill Zissimopoulos
732e6cc38c
grand EaSize patch; passes winfsp-tests and ifstest 2019-03-21 18:14:15 -07:00