t they are designed not to cache drops when expanding.
Therefore this patch removes unnecessary cache drop.
Signed-off-by: Shunki Fujita
---
Changes in v2:
- Remove unnecessary changes (Since bdev-> bd_invalidated always 0 after
check_disk_size_change ()[1])
- Add document of check_dis
Hi Andrew,
> On Fri, 16 Mar 2018 15:55:53 +0900 shunki-fujita
> wrote:
>
> > When changing the size of a block device, its all caches are freed.
> > It's necessary on shrinking to prevent spurious I/Os to the disappeared
> > region.
> > However, on expan
t they are designed not to cache drops when expanding.
Therefore this patch removes unnecessary cache drop.
Signed-off-by: Shunki Fujita
---
fs/block_dev.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/fs/block_dev.c b/fs/block_dev.c
index fe09ef9..243f4002 10064
t necessary to flush caches about a device which is under growing.
Signed-off-by: Shunki Fujita
---
fs/block_dev.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/fs/block_dev.c b/fs/block_dev.c
index 44d4a1e..d17603c 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
4 matches
Mail list logo