X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fmd%2Fbcache%2Fbcache.h;h=83eb7f27db3d41cbbb95e1fec91206ec7ac0f59f;hb=09bdafb89a56a267c070fdb96d385934c14d2735;hp=5a79bb3c272f1ba9adfd786699f983ae4505c6a1;hpb=15ac468614e5e4fee82e1eb32568f427b0e51adc;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h index 5a79bb3..83eb7f2 100644 --- a/drivers/md/bcache/bcache.h +++ b/drivers/md/bcache/bcache.h @@ -265,6 +265,7 @@ struct bcache_device { #define BCACHE_DEV_WB_RUNNING 3 #define BCACHE_DEV_RATE_DW_RUNNING 4 int nr_stripes; +#define BCH_MIN_STRIPE_SZ ((4 << 20) >> SECTOR_SHIFT) unsigned int stripe_size; atomic_t *stripe_sectors_dirty; unsigned long *full_dirty_stripes;