This repository was archived by the owner on May 3, 2024. It is now read-only.
Commit 26b1142
committed
CORTX-33577: Fixed panic in degraded read, replaced assert with error code
* It might possible that in degraded mode we may land up in a situation
where there are more than K failure and read_verify_is not true. In this
case ideally, we should return proper error code (-EIO) instead of assert.
Signed-off-by: Yatin Mahajan <[email protected]>1 parent d827ecf commit 26b1142
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1928 | 1928 | | |
1929 | 1929 | | |
1930 | 1930 | | |
1931 | | - | |
1932 | | - | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
1933 | 1939 | | |
1934 | 1940 | | |
1935 | 1941 | | |
| |||
0 commit comments