a problem when i use dm_io

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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 this:(sometimes 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 io_callback.
 
thanks.
 
2011-12-01

wzpywzh
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Add to Google Powered by Linux