Robert Baldyga
7352f3092d
Fix leak in core pool
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-16 11:53:54 +01:00
Jan Musiał
b9fce50783
Merge pull request #36 from robertbaldyga/add-simple-example
...
Add simple ocf usage example
2019-01-15 12:28:24 +01:00
Robert Baldyga
95d35ef337
Add simple ocf usage example
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-15 10:49:18 +01:00
Michał Mielewczyk
8581520658
Merge pull request #41 from robertbaldyga/update-posix-env
...
Update posix environment
2019-01-15 10:47:42 +01:00
Robert Baldyga
ad10d58a2c
Update posix environment
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-15 09:41:33 +01:00
Michał Mielewczyk
10c29b5fca
Merge pull request #40 from robertbaldyga/fix-compilation-errors-tracing
...
Fix compilation errors after tracing introduction
2019-01-15 09:08:14 +01:00
Robert Baldyga
d9cfab67b8
Fix compilation errors after tracing introduction
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-14 17:28:51 +01:00
Robert Bałdyga
dd6b074258
Merge pull request #3 from tomaszrybicki/add-tracing-support
...
Added tracing functionality
2019-01-14 16:37:34 +01:00
Michał Mielewczyk
f11db9c31a
Merge pull request #38 from robertbaldyga/remove-name_size
...
Remove name_size field from cache and core config
2019-01-14 16:04:16 +01:00
Michał Mielewczyk
f4161f6b97
Merge pull request #37 from robertbaldyga/ocf_uuid_set_str
...
Handle conversion between string and UUID
2019-01-14 16:01:59 +01:00
Katarzyna Łapińska
53b47e39cd
Merge pull request #39 from robertbaldyga/max-io-size-bytes
...
Express maximum io size in bytes instead of sectors
2019-01-14 15:47:30 +01:00
Robert Baldyga
07191c322e
Express maximum io size in bytes instead of sectors
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-14 15:10:09 +01:00
Robert Baldyga
322f1aeffd
Remove name_size field from cache and core config
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-14 15:09:09 +01:00
Robert Baldyga
afb63790f2
Add ocf_uuid_to_str() function
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-14 15:07:31 +01:00
Robert Baldyga
749f6906bb
Fix function initializing UUID from string
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-14 15:07:15 +01:00
Tomasz Rybicki
1156531590
Added tracing functionality
...
Signed-off-by: Tomasz Rybicki <tomasz.rybicki@intel.com>
2019-01-14 14:17:48 +01:00
Jan Musiał
2af3b81370
Merge pull request #35 from robertbaldyga/add-posix-env
...
Introduce default POSIX environment
2019-01-10 15:14:39 +01:00
Robert Baldyga
37372574a4
Introduce default POSIX environment
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-10 13:53:44 +01:00
Michał Mielewczyk
e6dc62e09a
Merge pull request #33 from micrakow/master
...
Added sample env files and makefile to be used by functional tests
2019-01-08 13:32:17 +01:00
Michal Rakowski
ad3467ddd4
Added Makefile for ocf lib to be used in functional tests
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-01-08 12:58:28 +01:00
Michal Rakowski
c30f667bda
Fix usage of atomic_ to env_atomic
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-01-07 17:25:47 +01:00
Jan Musiał
b02e2e31a0
Merge pull request #32 from Donaim/master
...
Add more missing io_set_queue
2019-01-07 09:11:40 +01:00
Vitaliy Mysak
506f0aa975
Add more missing io_set_queue
...
Propagate id of ocf_queue for discard io
This resolves the issue of
bottom adapter always getting an ocf_io with io_queue = 0,
no matter from which queue function to bottom adapter was called
This is a follow up on e69894e398
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
2019-01-06 20:57:52 +00:00
Robert Bałdyga
508f172117
Merge pull request #31 from robertbaldyga/simplify-dobj-api
...
Simplify data object API
2019-01-04 17:38:43 +01:00
Robert Baldyga
4cf4d6d7c7
Simplify data object API
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-04 17:34:39 +01:00
Michal Rakowski
cbc590e668
Merge pull request #30 from robertbaldyga/more-missing-io-puts
...
Add more missing io_put() calls
2019-01-04 13:15:35 +01:00
Robert Baldyga
67f17b9dc2
Add more missing io_put() calls
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-04 13:11:30 +01:00
Michal Rakowski
e139f79d6b
Merge pull request #25 from robertbaldyga/core-data-object
...
Core data object
2019-01-04 09:19:46 +01:00
Robert Baldyga
4be6761a18
Core data object
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-04 08:33:34 +01:00
Michal Rakowski
ef2a7b77bd
Merge pull request #28 from robertbaldyga/add_resched
...
Add env_cond_resched() in the loop that may execute for a long time
2019-01-02 14:54:35 +01:00
Robert Baldyga
721bc647bd
Add env_cond_resched() in the loop that may execute for a long time
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-01-02 14:49:30 +01:00
Robert Bałdyga
77b90e18fd
Merge pull request #27 from robertbaldyga/readme-20181228
...
Slightly reword README.md
2019-01-02 11:04:01 +01:00
Robert Bałdyga
32d72fdd99
Merge pull request #26 from robertbaldyga/move-ev-stuff-to-ev-dir
...
Move eviction stuff to eviction/ directory
2019-01-02 10:19:57 +01:00
Robert Baldyga
8d127e6351
Move eviction stuff to eviction/ directory
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2018-12-31 14:51:51 +01:00
Robert Baldyga
1ba0955ebc
Slightly reword README.md
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2018-12-28 09:44:21 +01:00
Robert Bałdyga
1b0b2597d3
Merge pull request #24 from robertbaldyga/fix-ffz
...
Fix _ffz() function
2018-12-21 10:57:51 +01:00
Robert Baldyga
aeef20524f
Fix _ffz() function
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2018-12-21 09:16:09 +01:00
Robert Bałdyga
5778d74c27
Merge pull request #23 from robertbaldyga/add-missing-io-puts
...
Add missing io puts
2018-12-20 14:49:51 +01:00
Robert Baldyga
71f1682215
Add missing io puts
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2018-12-20 14:35:26 +01:00
Michał Wysoczański
4a41d76216
Merge pull request #22 from robertbaldyga/add-str_to_uuid
...
Add str_to_uuid function
2018-12-19 13:36:58 +01:00
Robert Baldyga
848cd9112b
Add str_to_uuid function
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2018-12-19 13:30:17 +01:00
Robert Bałdyga
09b0d72bbc
Merge pull request #21 from robertbaldyga/ocf-div-round-up
...
Fix OCF compilation - use new macro name
2018-12-18 09:32:00 +01:00
Robert Baldyga
d73e0512b1
Fix OCF compilation - use new macro name
...
This looks like during change from DIV_ROUND_UP to OCF_DIV_ROUND_UP
this one occurrence has been missed.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2018-12-18 09:17:39 +01:00
Robert Bałdyga
76d4d98e0c
Merge pull request #19 from Donaim/master
...
Set io_queue for some requests
2018-12-17 07:05:17 +01:00
Vitaliy Mysak
e69894e398
Set io_queue for some requests
...
Propagate id of ocf_queue where it is possible
This resolves the issue of
bottom adapter always getting an ocf_io with io_queue = 0,
no matter from which queue function to bottom adapter was called
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
2018-12-14 22:52:39 +00:00
Robert Bałdyga
561f5900b0
Merge pull request #18 from mariuszbarczak/own-min-max-div-round-up-macros
...
OCF provides own macros for MIN, MAX, and DIV_ROUND_UP
2018-12-13 17:04:27 +01:00
Mariusz Barczak
15ed5b4450
OCF provides own macros for MIN, MAX, and DIV_ROUND_UP
...
Signed-off-by: Mariusz Barczak <mariusz.barczak@intel.com>
2018-12-13 10:59:23 -05:00
Michal Rakowski
abb8dc5067
Merge pull request #14 from robertbaldyga/complete-naming-cleanup
...
Unify completion functions naming
2018-12-13 09:34:03 +01:00
Michal Rakowski
fd6780b3b2
Merge pull request #13 from robertbaldyga/remove-assembler
...
Remove assembler code
2018-12-13 09:31:05 +01:00
Robert Baldyga
951b628fe5
Unify completion functions naming
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2018-12-13 07:49:27 +01:00