Gregory Nutt
e4dd33280d
Squashed commit of the following:
...
psock_close() and net_close() are internal OS functions and should not set the errno variable.
psock_ioctl() and netdev_ioctl() are internal OS functions and should not set the errno variable.
net_dupsd() and net_dupsd2() are internal OS functions and should not set the errno variable.
net/ and fs/: net_vfcntl(), file_fcntl(), file_dup(), and file_dup2() are all internal OS interfaces and should not modify the errno value.
2017-09-30 10:41:21 -06:00
Gregory Nutt
44736b721c
net/sockets: psock_send() is an internal OS interface an should not set the errno variable.
2017-09-29 17:48:15 -06:00
Gregory Nutt
7b7ca87941
fs/vfs: file_write() and file_pwrite() are internal OS interfaces and should not report errors via the errno
2017-09-28 14:49:05 -06:00
Gregory Nutt
a0f567f4a3
Update TODO, cosmetic changes, spelling -- US English spells it canceled and canceling vs cancelled and cancelling. No idea why.
2016-12-09 18:39:40 -06:00
Gregory Nutt
b0dffdc2ca
Fix a number of header files with mismatched 'extern C {' and '}'
2016-11-05 07:25:05 -06:00
Gregory Nutt
986c568d34
Correct file header comments
2016-08-07 10:04:02 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
9008308b64
Remove some block comments before empty code sections
2016-04-11 18:16:04 -06:00
Gregory Nutt
849df03d22
Update dates on files modified for SIGEV_THREAD support
2015-12-30 13:28:39 -06:00
Gregory Nutt
9835eeb181
signals: Basic framework to support SIGEV_THREAD
2015-12-30 13:20:31 -06:00
Gregory Nutt
342f5fe33d
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
9ab0d4c56f
fs/aio: Corrrect some backward tests in aio_read() and aio_write(): Socket descriptors have higher numbers than file descriptors. In aio_contain(), Copy u.ptr (void *) when initializing aioc and not the case specific u.aioc_filep. From Michal Ulianko.
2015-02-24 07:29:47 -06:00
Gregory Nutt
9ac09db800
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:46:14 -06:00
Gregory Nutt
f8f6a8fbce
AIO: Several fixes for socket transfers, mostly from Victor Mayoral Vilches
2014-10-27 15:54:35 -06:00
Gregory Nutt
d2424ac65c
Fix a couple of problems introduced in the last commmits
2014-10-11 08:29:26 -06:00
Gregory Nutt
ae3cc327c7
AIO now also supports socket transfers
2014-10-11 08:15:23 -06:00
Gregory Nutt
91f5ecc347
fs/aio/aio.h needs to disable itself is CONFIG_FS_AIO is not defined
2014-10-09 10:45:43 -06:00
Gregory Nutt
974f884ddc
Fix typos that cause compile error when file system debug is enabled
2014-10-07 13:49:49 -06:00
Gregory Nutt
e5f34875ff
AIO signal related fixes; extensino to AIO test
2014-10-07 09:57:20 -06:00
Gregory Nutt
f575567f55
Fix a compilation error in last commits that occure if CONFIG_PRIORITY_INHERITANCE is not selected
2014-10-07 09:07:54 -06:00
Gregory Nutt
4c7b988525
Update some comments
2014-10-07 08:34:10 -06:00
Gregory Nutt
98a4b6fb79
The Asynch I/O implementation now satisfies POSIX priority requirements; it uses the new low priority worker thread interfaces to adjust the priority of the worker thread according to the priority of the client thread
2014-10-07 08:24:50 -06:00
Gregory Nutt
e38640ecd8
Eliminate a warning
2014-10-06 16:15:24 -06:00
Gregory Nutt
9e102bc458
Fix some cornercase locking issues; make AIO lock re-entrant
2014-10-06 15:54:00 -06:00
Gregory Nutt
67030f9049
Add test for aio_cancel() and fix some bugs found by the test
2014-10-06 15:06:01 -06:00
Gregory Nutt
b447c413d0
Fix some errors and spec compliance issues with aio_cancel()
2014-10-06 14:28:40 -06:00
Gregory Nutt
7cbe29e7db
Fix compile problems with debug on
2014-10-06 12:28:37 -06:00
Gregory Nutt
cd0c493657
Basic fixes for a clean simulator build with last big fs changes
2014-10-06 11:02:58 -06:00
Gregory Nutt
d914f3ceec
Major structure of file system functions to better support asynchronous I/O. Respository should not be trusted until I have a chance to verify everything
2014-10-06 10:53:25 -06:00
Gregory Nutt
a5b4a4161b
Modify logic to use AIO control block container
2014-10-06 08:10:32 -06:00
Gregory Nutt
52ce95b8b8
Add a AIO control container to increase the payload with OS internal stuff.
2014-10-06 08:10:02 -06:00
Gregory Nutt
e8a2e3a506
Fix some compilation issues introduced with last commit
2014-10-05 16:04:19 -06:00
Gregory Nutt
652d3ed29d
Rename CONFIG_LIBC_AIO to CONFIG_FS_AIO since it is now an OS property
2014-10-05 15:44:43 -06:00
Gregory Nutt
f73a18ae39
Move all file operations from libc/aio to fs/aio. These will need to be kernel routines in order to handler issues with using file descriptors on worker thread
2014-10-05 15:33:31 -06:00