Marc Dionne
50b058f496
afs: Fix large file support
...
[ Upstream commit b485275f1a ]
By default s_maxbytes is set to MAX_NON_LFS, which limits the usable
file size to 2GB, enforced by the vfs.
Commit b9b1f8d593 ("AFS: write support fixes") added support for the
64-bit fetch and store server operations, but did not change this value.
As a result, attempts to write past the 2G mark result in EFBIG errors:
$ dd if=/dev/zero of=foo bs=1M count=1 seek=2048
dd: error writing 'foo': File too large
Set s_maxbytes to MAX_LFS_FILESIZE.
Fixes: b9b1f8d593 ("AFS: write support fixes")
Signed-off-by: Marc Dionne <marc.dionne@auristor.com >
Signed-off-by: David Howells <dhowells@redhat.com >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-05-15 16:47:08 +09:00
..
2023-05-15 14:47:49 +09:00
2023-05-15 14:09:05 +09:00
2018-05-30 07:50:16 +02:00
2023-05-15 16:47:08 +09:00
2023-05-15 16:08:48 +09:00
2016-10-15 12:09:13 -07:00
2023-05-15 09:57:32 +09:00
2023-05-15 16:46:39 +09:00
2023-05-15 10:31:46 +09:00
2023-05-15 15:17:56 +09:00
2023-05-15 16:46:19 +09:00
2023-05-15 14:09:19 +09:00
2023-05-15 14:58:21 +09:00
2023-05-15 09:23:12 +09:00
2023-05-15 13:58:33 +09:00
2023-05-15 12:38:42 +09:00
2023-05-15 12:05:59 +09:00
2023-05-15 16:09:57 +09:00
2023-05-15 15:07:40 +09:00
2016-10-10 20:16:43 -07:00
2016-05-20 17:58:30 -07:00
2020-02-04 13:48:58 +09:00
2023-05-15 09:51:17 +09:00
2023-05-15 16:42:45 +09:00
2023-05-15 16:16:47 +09:00
2023-05-15 16:46:13 +09:00
2023-05-15 08:58:11 +09:00
2023-05-15 14:41:16 +09:00
2016-06-13 10:20:39 +02:00
2023-05-15 10:31:45 +09:00
2023-05-15 16:10:11 +09:00
2023-05-15 16:06:48 +09:00
2023-05-15 15:18:29 +09:00
2023-05-15 15:18:27 +09:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2023-05-15 12:59:23 +09:00
2017-11-30 08:39:04 +00:00
2023-05-15 16:20:56 +09:00
2023-05-15 12:38:40 +09:00
2023-05-15 16:44:34 +09:00
2023-05-15 15:09:25 +09:00
2023-05-15 09:22:56 +09:00
2018-03-02 13:27:29 -08:00
2016-10-10 20:16:43 -07:00
2023-05-15 11:49:44 +09:00
2023-05-15 16:44:11 +09:00
2018-02-03 17:05:38 +01:00
2023-05-15 16:30:41 +09:00
2018-05-30 07:50:16 +02:00
2023-05-15 11:16:44 +09:00
2016-10-30 13:09:42 -04:00
2023-05-15 16:34:46 +09:00
2016-10-10 20:16:43 -07:00
2016-09-27 21:06:21 -04:00
2023-05-15 15:12:41 +09:00
2023-05-15 14:34:51 +09:00
2023-05-15 15:12:26 +09:00
2023-05-15 16:32:06 +09:00
2016-05-09 11:41:14 -04:00
2016-05-09 11:41:14 -04:00
2023-05-15 16:21:05 +09:00
2016-10-10 20:16:43 -07:00
2023-05-15 16:35:39 +09:00
2017-06-17 06:41:56 +02:00
2020-12-17 17:32:09 +09:00
2023-05-12 17:14:36 +09:00
2023-05-12 17:16:51 +09:00
2023-05-15 10:31:02 +09:00
2016-09-27 21:06:21 -04:00
2023-05-15 10:45:32 +09:00
2023-05-15 13:58:25 +09:00
2023-05-15 12:53:34 +09:00
2023-05-15 16:42:28 +09:00
2023-05-15 10:36:26 +09:00
2017-01-31 10:47:22 -08:00
2017-01-09 08:32:24 +01:00
2016-05-28 16:34:59 -07:00
2016-07-25 16:51:49 +10:00
2023-05-15 08:20:48 +09:00
2016-08-02 19:35:15 -04:00
2023-05-15 13:55:59 +09:00
2018-06-26 08:08:09 +08:00
2023-05-15 14:54:58 +09:00
2023-05-15 11:01:39 +09:00
2023-05-15 12:16:57 +09:00
2023-05-15 16:32:57 +09:00
2018-02-25 11:05:55 +01:00
2023-05-15 16:30:53 +09:00
2016-09-27 21:20:53 -04:00
2017-07-05 16:18:14 +02:00
2018-02-28 10:18:33 +01:00
2023-05-15 12:07:04 +09:00
2023-05-15 11:45:37 +09:00
2023-05-15 11:50:41 +09:00
2016-03-22 15:36:02 -07:00
2023-05-15 11:23:40 +09:00
2023-05-15 14:08:49 +09:00
2018-01-31 12:55:52 +01:00
2016-03-22 15:36:02 -07:00
2015-08-07 04:39:40 +03:00
2023-05-15 12:16:54 +09:00
2016-01-19 12:02:23 -05:00
2017-01-31 15:46:26 -08:00
2023-05-15 14:59:25 +09:00
2023-05-15 13:50:14 +09:00
2017-09-20 09:59:51 +02:00
2016-09-15 13:29:52 -07:00
2017-09-20 08:19:59 +02:00
2017-09-26 00:32:37 -07:00
2016-08-12 16:47:05 +01:00
2023-05-15 14:49:42 +09:00
2023-05-15 16:30:25 +09:00
2017-09-26 00:32:37 -07:00
2018-02-22 15:43:48 +01:00
2017-07-21 07:42:22 +02:00
2018-12-17 17:21:59 +08:00
2023-05-15 09:59:20 +09:00
2023-05-15 09:27:37 +09:00
2018-02-17 13:21:15 +01:00
2023-05-15 14:08:33 +09:00
2023-05-15 13:40:35 +09:00
2017-07-21 08:55:50 +02:00
2017-03-15 02:21:16 +00:00
2017-01-26 08:24:37 +01:00
2017-01-31 10:47:20 -08:00
2023-05-15 13:41:13 +09:00
2023-05-15 16:21:37 +09:00
2016-10-11 15:06:30 -07:00
2016-10-07 18:46:30 -07:00
2015-08-07 04:39:40 +03:00
2023-05-15 13:40:35 +09:00
2017-06-14 15:06:01 +02:00
2023-05-15 11:16:43 +09:00
2017-03-14 13:16:06 -07:00
2017-05-08 07:47:54 +02:00
2023-05-15 14:21:05 +09:00
2017-01-31 10:47:21 -08:00
2023-05-15 08:34:19 +09:00