Pavel Emelyanov 8373200b12 fuse: Trust kernel i_size only
Make fuse think that when writeback is on the inode's i_size is always
up-to-date and not update it with the value received from the userspace.
This is done because the page cache code may update i_size without letting
the FS know.

This assumption implies fixing the previously introduced short-read helper --
when a short read occurs the 'hole' is filled with zeroes.

fuse_file_fallocate() is also fixed because now we should keep i_size up to
date, so it must be updated if FUSE_FALLOCATE request succeeded.

Signed-off-by: Maxim V. Patlasov <MPatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2014-04-02 15:38:48 +02:00
..
2013-10-24 23:43:27 -04:00
2014-02-17 12:37:13 -08:00
2014-01-25 03:13:02 -05:00
2014-01-25 03:13:02 -05:00
2014-01-23 18:54:14 +02:00
2014-04-02 15:38:48 +02:00
2014-01-26 11:51:09 +01:00
2014-02-02 16:24:07 -08:00
2013-12-04 12:27:46 +01:00
2014-01-28 18:56:37 -08:00
2014-02-13 15:56:05 -06:00
2014-02-25 07:37:52 -08:00
2014-03-09 19:17:39 -07:00
2014-01-25 03:14:05 -05:00
2014-01-25 03:13:03 -05:00
2014-02-25 07:37:52 -08:00
2013-12-22 11:03:49 -08:00
2013-12-05 16:36:21 -06:00
2013-10-24 23:34:54 -04:00
2013-11-23 22:33:47 -08:00
2013-10-24 23:34:54 -04:00
2013-11-09 00:16:20 -05:00
2013-10-24 23:34:54 -04:00
2014-01-26 08:26:40 -05:00
2014-03-30 19:18:51 -04:00
2013-11-23 22:33:47 -08:00
2014-03-30 19:18:51 -04:00
2014-03-10 11:44:41 -04:00
2014-03-30 19:18:51 -04:00
2014-03-30 19:18:51 -04:00
2013-10-24 23:34:54 -04:00
2014-01-22 19:36:57 +01:00
2013-11-09 00:16:31 -05:00