]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix error handling of posix_fadvise() syscall 10327/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 18 Jul 2016 10:07:30 +0000 (18:07 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 18 Jul 2016 10:07:30 +0000 (18:07 +0800)
commit82ccf7e5c3195211c9c333c0ec394be421a4a94c
treee7770f15ae8e01464f88be284a7edad476532efd
parent012f8f9eb693319f1a35052e214e4287304fbf1f
os/bluestore: fix error handling of posix_fadvise() syscall

According to Linux man page:
On success, zero is returned.  On error, an error number is returned.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/KernelDevice.cc