file_sys: remove all fsync calls [1/2]
PD#OTT-48177
Problem:
synchronous fsync blocks the procedure due to bad device
Solution:
remove the fsync calls
Verify:
Project PB
Change-Id: I9bb79449d0627432c95208d0c4873c78204c0325
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
diff --git a/src/dvr_segment.c b/src/dvr_segment.c
index db512b7..1c9bd9c 100644
--- a/src/dvr_segment.c
+++ b/src/dvr_segment.c
@@ -337,7 +337,7 @@
}
fflush(fp);
- fsync(fileno(fp));
+ //fsync(fileno(fp));
fclose(fp);
return DVR_SUCCESS;
}