[PATCH][TRIVIAL] ceph: Modify comments for checkeof.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If we met checkeof,it only for eof rather than hithole.So update the
comments.

Signed-off-by: Jianpeng Ma <majianpeng@xxxxxxxxx>
---
 fs/ceph/file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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;
-- 
1.8.1.2

Thanks!
Jianpeng Ma?韬{.n?????%??檩??w?{.n????u朕?Ф?塄}?财??j:+v??????2??璀??摺?囤??z夸z罐?+?????w棹f





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux