Message ID | 201307261124210922813@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index 2ddf061..d1b5f61 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c @@ -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;
If we met checkeof,it only for eof rather than hithole.So update the comments. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com> --- fs/ceph/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.1.2 Thanks! Jianpeng Ma