Overview
Request 147535 superseded
- update to 1.3.7
librtas allocates buffer space (required for RTAS call) in the
RTAS private memory area through sc_get_rmo_buffer() which
internally allocates memory and protects it by acquiring
lock on the allocated memory area.
Locking function :
At present acquire_file_lock() tries to lock the particular
memory area. If the memory area is already locked then it
returns error without retrying.
So when two process executes rtas call simultaneously one fails
with "Unknown librtas I/O" error.
This patch introduces "Wait for lock to be available" instead
of returning with IO error.
- fixed minor memory leak in librtas.so
- Created by namtrac
- In state superseded
- Supersedes 146706
- Superseded by 147666
- Open review for legal-auto
Request History
namtrac created request
- update to 1.3.7
librtas allocates buffer space (required for RTAS call) in the
RTAS private memory area through sc_get_rmo_buffer() which
internally allocates memory and protects it by acquiring
lock on the allocated memory area.
Locking function :
At present acquire_file_lock() tries to lock the particular
memory area. If the memory area is already locked then it
returns error without retrying.
So when two process executes rtas call simultaneously one fails
with "Unknown librtas I/O" error.
This patch introduces "Wait for lock to be available" instead
of returning with IO error.
- fixed minor memory leak in librtas.so
factory-auto declined request
Output of check script:
ERROR: Failed to download http://librtas.ozlabs.org/downloads/librtas-1.3.7.tar.gz
Source URLs are not valid. Try "osc service localrun download_files"
factory-auto declined review
Output of check script:
ERROR: Failed to download http://librtas.ozlabs.org/downloads/librtas-1.3.7.tar.gz
Source URLs are not valid. Try "osc service localrun download_files"
superseded by 147666