summaryrefslogtreecommitdiff
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2017-08-16 17:24:58 +0800
committerIlya Dryomov <idryomov@gmail.com>2017-09-06 19:56:48 +0200
commit1c0a9c2d978360493054315196c51d8328fa7fae (patch)
tree88e4dd78125a5abf93c9cd19e545c5bc40ce8f26 /fs/ceph/addr.c
parent24d063acc26fa7ccebc7aa05498fa3818e660df6 (diff)
ceph: include snapc in debug message of write
Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/addr.c')
-rw-r--r--fs/ceph/addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index 825931516623..0b073b6a2616 100644
--- a/fs/ceph/addr.c
+++ b/fs/ceph/addr.c
@@ -569,8 +569,8 @@ static int writepage_nounlock(struct page *page, struct writeback_control *wbc)
if (snap_size < page_off + len)
len = snap_size - page_off;
- dout("writepage %p page %p index %lu on %llu~%u snapc %p\n",
- inode, page, page->index, page_off, len, snapc);
+ dout("writepage %p page %p index %lu on %llu~%u snapc %p seq %lld\n",
+ inode, page, page->index, page_off, len, snapc, snapc->seq);
writeback_stat = atomic_long_inc_return(&fsc->writeback_count);
if (writeback_stat >