ceph: Modify comments for checkeof.
PATCH 1/1 ceph: Modify comments for checkeof.
If we met checkeof,it only for eof rather than hithole.So update the comments.
Signed-off-by Jianpeng Ma <[email protected]>
--- fs/ceph/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ceph/file.c +2 -2
@@ -674,9 +674,9 @@ out:if (checkeof && ret >=0 ) {int statret =ceph_do_getattr (inode,CEPH_STAT_CAP_SIZE ); -/* hit EOF or hole? */ +/* hit EOF*/ if (statret ==0 && *ppos < inode->i_size) { -dout ("aio_read sync_read hit hole, ppos %lld < size %lld, reading more\n" , *ppos, inode->i_size); +dout ("aio_read sync_read hit EOF, ppos %lld < size %lld, reading more\n" , *ppos, inode->i_size); read += ret; base += ret; len -= ret;
Signature · 4 lines
1.8.1.2 Thanks! Jianpeng Ma