Yan, Zheng 1f934b00e9 ceph: properly get capsnap's size in get_oldest_context()
capsnap's size is set by __ceph_finish_cap_snap(). If capsnap is under
writing, its size is zero. In this case, get_oldest_context() should
read i_size. Besides, ceph_writepages_start() should re-check capsnap's
size after dirty pages get locked.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-06 19:56:55 +02:00
..
2017-07-11 06:08:58 -04:00
2017-07-11 06:06:17 -04:00
2017-08-24 13:23:03 -07:00
2017-08-14 08:30:06 -04:00
2017-07-17 19:23:18 -07:00
2017-07-06 16:24:35 -07:00
2017-07-07 20:09:10 -04:00
2017-07-06 03:31:46 -04:00
2017-08-10 15:54:07 -07:00
2017-08-07 16:51:28 +02:00
2017-07-06 03:31:46 -04:00
2017-04-17 12:52:27 -04:00
2017-08-31 16:12:59 -07:00
2017-07-07 13:48:18 -07:00
2017-06-22 11:44:55 -04:00
2017-07-06 03:27:09 -04:00
2017-07-06 03:27:09 -04:00
2017-05-08 17:15:12 -07:00
2017-06-09 16:28:01 -04:00
2017-07-11 06:09:21 -04:00
2017-07-05 18:44:23 -04:00