,
but they are designed not to cache drops when expanding.
Therefore this patch removes unnecessary cache drop.
Signed-off-by: Shunki Fujita <shunki-fuj...@cybozu.co.jp>
---
Changes in v2:
- Remove unnecessary changes (Since bdev-> bd_invalidated always 0 after
check_disk_size_change ()[1])
- Add
,
but 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_disk_size_cha
Hi Andrew,
> On Fri, 16 Mar 2018 15:55:53 +0900 shunki-fujita <shunki-fuj...@cybozu.co.jp>
> 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
> >
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 expanding,
,
but they are designed not to cache drops when expanding.
Therefore this patch removes unnecessary cache drop.
Signed-off-by: Shunki Fujita <shunki-fuj...@cybozu.co.jp>
---
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 f
,
but 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 100644
--- a/fs
caches about a device which is under growing.
Signed-off-by: Shunki Fujita <shunki-fuj...@cybozu.co.jp>
---
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
++
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
@@ -1078,7 +1078,14
8 matches
Mail list logo