Ratna Manoj Bolla
abbbdf1249
nbd: replace kill_bdev() with __invalidate_device()
...
When a filesystem is mounted on a nbd device and on a disconnect, because
of kill_bdev(), and resetting bdev size to zero, buffer_head mappings are
getting destroyed under mounted filesystem.
After a bdev size reset(i.e bdev->bd_inode->i_size = 0) on a disconnect,
followed by a sys_umount(),
generic_shutdown_super()->...
->__sync_blockdev()->...
-blkdev_writepages()->...
->do_invalidatepage()->...
-discard_buffer() is discarding superblock buffer_head assumed
to be in mapped state by ext4_commit_super().
[mlin: ported to 4.11-rc2]
Signed-off-by: Ratna Manoj Bolla <manoj.br@gmail.com
Signed-off-by: Josef Bacik <jbacik@fb.com >
Signed-off-by: Jens Axboe <axboe@fb.com >
2017-03-24 15:42:47 -06:00
..
2017-03-11 14:41:20 +01:00
2017-03-02 08:42:29 +01:00
2017-03-09 11:55:23 -05:00
2017-03-02 08:42:32 +01:00
2017-02-10 15:57:28 +01:00
2017-03-16 16:56:19 -07:00
2017-03-24 15:42:47 -06:00
2017-03-22 19:22:04 -07:00
2017-02-23 15:57:04 -08:00
2017-02-17 14:08:19 -07:00
2017-03-24 14:11:36 -07:00
2017-03-03 16:15:48 -08:00
2017-03-17 13:13:35 -07:00
2017-03-24 00:43:26 +01:00
2017-03-21 22:26:37 +01:00
2017-03-24 14:11:36 -07:00
2017-03-10 19:56:56 -08:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:32 +01:00
2017-02-20 12:47:44 -08:00
2017-02-27 18:43:46 -08:00
2017-02-28 20:29:41 -08:00
2017-03-07 14:25:48 -08:00
2017-03-17 09:20:28 +01:00
2017-03-24 11:05:06 +10:00
2017-03-21 13:07:18 -07:00
2017-03-02 08:42:32 +01:00
2017-03-09 17:01:09 -08:00
2017-02-27 18:43:47 -08:00
2017-02-24 17:46:54 -08:00
2017-03-09 16:41:48 +01:00
2017-03-02 08:42:36 +01:00
2017-03-02 17:41:27 -08:00
2017-03-04 11:26:18 -08:00
2017-03-02 08:42:40 +01:00
2017-03-23 19:51:06 -07:00
2017-03-22 23:59:56 +01:00
2017-03-09 12:06:41 +01:00
2017-03-14 21:31:23 -07:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:32 +01:00
2017-02-15 08:27:21 -07:00
2017-03-10 14:17:23 +11:00
2017-03-02 08:42:32 +01:00
2017-03-16 11:43:48 -07:00
2017-03-24 13:34:16 -07:00
2017-03-06 08:37:53 -08:00
2017-02-17 14:08:19 -07:00
2017-02-21 11:51:42 -08:00
2017-02-22 12:14:01 -08:00
2017-03-09 11:48:47 -08:00
2017-03-23 09:24:42 +01:00
2017-03-09 17:01:09 -08:00
2017-03-22 19:40:52 -07:00
2017-02-27 18:43:47 -08:00
2017-02-16 23:11:26 -05:00
2017-03-01 00:49:42 -08:00
2017-03-21 18:38:46 +02:00
2017-02-22 19:23:14 -08:00
2017-03-02 08:42:40 +01:00
2017-03-03 16:20:06 -08:00
2017-03-02 08:42:32 +01:00
2017-03-07 14:23:30 -06:00
2017-03-02 08:42:27 +01:00
2017-02-23 11:53:22 -08:00
2017-03-06 14:38:05 +01:00
2017-03-13 13:23:43 -07:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:29 +01:00
2017-02-22 18:22:53 -08:00
2017-03-01 09:46:02 -08:00
2017-02-27 18:43:45 -08:00
2017-02-20 17:23:57 -08:00
2017-03-20 14:45:44 -07:00
2017-02-23 15:57:04 -08:00
2017-03-02 13:53:13 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-21 13:10:17 -07:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:27 +01:00
2017-03-14 21:31:23 -07:00
2017-03-18 16:32:30 -07:00
2017-03-02 08:42:27 +01:00
2017-03-21 13:01:53 -07:00
2017-03-02 08:42:32 +01:00
2017-03-11 00:08:39 -08:00
2017-03-24 14:39:36 -07:00
2017-03-21 14:41:46 -07:00
2017-03-03 01:45:16 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:29 +01:00
2017-03-01 06:15:10 -08:00
2017-03-23 12:00:02 -04:00
2017-02-23 11:53:22 -08:00