29 Mar, 2012
1 commit
-
This patch introduces a new function dm_bufio_prefetch. It prefetches
the specified range of blocks into dm-bufio cache without waiting
for i/o completion.Signed-off-by: Mikulas Patocka
Signed-off-by: Alasdair G Kergon
04 Feb, 2012
1 commit
-
As 'make versioncheck' points out, drivers/md/dm-bufio.c has no need to include
linux/version.h, so this patch removes the unneeded include.Signed-off-by: Jesper Juhl
Acked-by: Mikulas Patocka
Signed-off-by: Jiri Kosina
08 Nov, 2011
1 commit
-
since it uses the module facilities.
Reported-by: Witold Baryluk
Signed-off-by: Stephen Rothwell
Signed-off-by: Paul Gortmaker
Signed-off-by: Linus Torvalds
01 Nov, 2011
1 commit
-
The dm-bufio interface allows you to do cached I/O on devices,
holding recently-read blocks in memory and performing delayed writes.We don't use buffer cache or page cache already present in the kernel, because:
* we need to handle block sizes larger than a page
* we can't allocate memory to perform reads or we'd have deadlocksCurrently, when a cache is required, we limit its size to a fraction of
available memory. Usage can be viewed and changed in
/sys/module/dm_bufio/parameters/ .The first user is thin provisioning, but more dm users are planned.
Signed-off-by: Mikulas Patocka
Signed-off-by: Alasdair G Kergon