FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

LinkBack Thread Tools
Old 12-01-2011, 02:15 PM
Default a problem when i use dm_io

hi, all
i am interested in facebook flashcache,which uses
device mapper to make ssd as a disk cache, i want to add some functions in it,
so i modify some codes. but when i use dm_io_async_bvec(1, &job->cache,
WRITE,bio->bi_io_vec,bio->bi_idx, io_callback, kcached_job)* (the
params is all right)submit a bio.
it does not call the io_callback function. i use
systemtap to trace the function.*the result like thissometimes is: enter
dm_io_async_bvec;*enter submit_bio;*enter generic_make_request,
generic_make_request return, submit_bio return,*dm_io_async_bvec
return.* sometimes is*:enter dm_io_async_bvec;*enter submit_bio;
enter generic_make_request,* dm_io_async_bvec return)*
it do not know why, and why it did not call the

dm-devel mailing list

Thread Tools

All times are GMT. The time now is 04:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org