170:d39c8916cc3d
|
2021-08-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced support for pipe closure detection during directory listing
production. This requires the reader endpoint to be propagated from the server
to the client, with the capability being discarded in the server after having
been sent using an operation completion function in the opener context.
Simplified various reading and writing operations, removing loops that should be
unnecessary: either a blocking read or write completes successfully or it runs
short, indicating the closure of the pipe.
Reorganised the directory reading test so that listing completion and early
termination situations can be more easily tested. |
|
|
libfsserver/lib/files/ext2_file_opener.cc libfsserver/lib/files/host_file_opener.cc libfsserver/lib/files/opener_context_resource.cc tests/dstest_file_readdir.cc
|
|
169:6b456edd075b
|
2021-08-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added more detail to some comments. |
|
|
libfsclient/lib/src/client.cc
|
|
168:1bab9ddcac25
|
2021-08-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added support for listing directories in ext2-based filesystems. |
|
|
conf/dstest_file_readdir.cfg conf/dstest_file_readdir.list libfsserver/include/fsserver/ext2_file_opener.h libfsserver/include/fsserver/ext2_file_operations.h libfsserver/lib/files/ext2_file_opener.cc libfsserver/lib/files/ext2_file_operations.cc
|
|
167:eca2519bb8ee
|
2021-08-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Renamed the directory reading test, adjusting slightly. |
|
|
conf/dstest_host_readdir.cfg conf/dstest_host_readdir.list tests/Makefile tests/dstest_file_readdir.cc tests/dstest_host_readdir.cc
|
|
166:211abeb2a17e
|
2021-08-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved pipe region initialisation into the pipe paging coordinator itself. |
|
|
libfsserver/include/fsserver/pipe_paging.h libfsserver/lib/pipes/pipe_opener_resource.cc libfsserver/lib/pipes/pipe_pager.cc libfsserver/lib/pipes/pipe_paging.cc
|
|
165:84362bb6f6b9
|
2021-08-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed data_current modification when navigating pipe regions.
Added blocking when a pipe region provides no content or space. |
|
|
libfsclient/lib/src/client.cc
|
|
164:aa09cdd2a3bf
|
2021-08-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed the superfluous flush operation and fixed pipe numbering in messages. |
|
|
tests/dstest_pipe_client.cc
|
|
163:d1490d96fd58
|
2021-08-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced testing of the pipe closure condition. |
|
|
tests/dstest_host_readdir.cc
|
|
162:d54b90e3eef5
|
2021-08-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the blocking access function to test for available content or space, since
these conditions affect the need to block. |
|
|
libfsclient/lib/src/client.cc
|
|
161:4b4500850cce
|
2021-08-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed pipe initialisation to ensure region availability. |
|
|
libfsclient/lib/src/file.cc libfsserver/lib/pipes/pipe_opener_resource.cc
|
|