Peng Tao
88ac815cdb
nfs41: change PNFS_LAYOUTRET_ON_SETATTR to only return on truncation to smaller size
...
Both blocks layout and objects layout want to use it to avoid CB_LAYOUTRECALL
but that should only happen if client is doing truncation to a smaller size.
For other cases, we let server decide if it wants to recall client's layouts.
Change PNFS_LAYOUTRET_ON_SETATTR to follow the logic and not to send
layoutreturn unnecessarily.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Boaz Harrosh <boaz@plexistor.com>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-09-12 14:03:20 -04:00
..
2014-09-12 13:34:54 -04:00
2014-09-10 12:47:03 -07:00
2014-09-12 13:20:43 -04:00
2013-02-15 10:43:36 -05:00
2013-02-15 10:43:36 -05:00
2014-09-12 13:33:50 -04:00
2013-06-28 16:29:51 -04:00
2014-07-12 18:41:25 -04:00
2013-06-08 16:20:18 -04:00
2014-09-10 12:47:04 -07:00
2014-07-12 18:22:58 -04:00
2014-07-12 18:22:58 -04:00
2014-08-04 09:22:08 -04:00
2014-09-12 13:49:31 -04:00
2013-11-19 16:20:40 -05:00
2012-01-31 18:20:26 -05:00
2014-09-10 12:47:04 -07:00
2011-10-18 09:14:34 -07:00
2013-09-27 18:40:25 +01:00
2013-09-27 18:40:25 +01:00
2014-08-07 14:40:10 -04:00
2014-07-22 21:55:45 +01:00
2014-09-10 12:47:04 -07:00
2014-09-12 13:49:40 -04:00
2013-11-15 13:41:43 -05:00
2014-05-29 20:21:56 -04:00
2013-06-28 15:51:51 -04:00
2013-10-24 23:34:50 -04:00
2014-08-04 09:28:32 -07:00
2012-07-30 19:06:41 -04:00
2014-05-28 18:12:43 -04:00
2014-09-12 13:50:26 -04:00
2014-08-26 16:17:48 -04:00
2012-07-30 19:05:54 -04:00
2014-09-12 13:49:40 -04:00
2014-09-12 13:50:26 -04:00
2014-05-28 18:12:43 -04:00
2014-09-08 17:00:32 -07:00
2014-07-08 14:30:03 -04:00
2014-06-12 10:30:18 -07:00
2013-09-07 16:18:30 -04:00
2014-06-24 18:46:58 -04:00
2014-09-12 14:03:20 -04:00
2012-08-13 16:27:37 -07:00
2014-02-01 15:13:39 -05:00
2014-02-01 15:13:39 -05:00
2014-09-08 17:00:32 -07:00
2014-04-03 16:21:01 -07:00
2014-06-06 16:08:16 -07:00
2013-08-22 08:58:27 -04:00
2014-06-24 18:47:00 -04:00
2014-09-12 13:33:50 -04:00
2012-07-30 19:06:52 -04:00
2012-03-20 13:08:26 -04:00
2013-08-22 08:58:18 -04:00
2014-01-27 15:35:56 -05:00
2014-09-10 12:47:01 -07:00
2014-09-12 13:20:54 -04:00
2014-09-10 12:47:03 -07:00
2014-09-12 14:03:20 -04:00
2014-06-24 18:47:00 -04:00
2014-06-25 19:01:27 -04:00
2014-09-12 13:50:20 -04:00
2014-06-06 16:08:16 -07:00
2014-03-17 15:14:17 -04:00
2014-09-12 13:49:31 -04:00