summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/ubi-media.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2014-10-08 16:55:58 +0400
committerRichard Weinberger <richard@nod.at>2015-03-27 00:46:00 +0300
commit68e3226bd4e05c4be1f6286e4e708e1163ffa092 (patch)
treeb6ab8d05e5ee883361718df5c162541f1bab6108 /drivers/mtd/ubi/ubi-media.h
parent2d93fb3632755c170bc684989709e28ef3d22a80 (diff)
downloadlinux-68e3226bd4e05c4be1f6286e4e708e1163ffa092.tar.xz
UBI: Fastmap: Make WL pool size 50% of user pool size
Don't use a fixed size for the WL pool. Make it instead 50% of the user pool. We don't make it 100% as it is not as heavily used as the user pool. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi/ubi-media.h')
-rw-r--r--drivers/mtd/ubi/ubi-media.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi/ubi-media.h
index ac2b24d1783d..d0d072e7ccd2 100644
--- a/drivers/mtd/ubi/ubi-media.h
+++ b/drivers/mtd/ubi/ubi-media.h
@@ -403,8 +403,6 @@ struct ubi_vtbl_record {
#define UBI_FM_MIN_POOL_SIZE 8
#define UBI_FM_MAX_POOL_SIZE 256
-#define UBI_FM_WL_POOL_SIZE 25
-
/**
* struct ubi_fm_sb - UBI fastmap super block
* @magic: fastmap super block magic number (%UBI_FM_SB_MAGIC)