Re: [PATCH v3 RESEND] dma-mapping: add new API for max_segment_number

2011-06-17 Thread Matthew Wilcox
> > The mxs-mmc is just one example to demonstrate the need of the new > api, and there are other mmc host drivers (mxcmmc on imx-dma is > another example) and possibly even other dmaengine users need this > new api to know the maximum segments that dma driver can handle per > dma

Re: Is it possible for the ext4/btrfs file system to pass some context related info to low level block driver?

2011-05-05 Thread Matthew Wilcox
rw = (bp->b_flags & XBF_WRITE) ? WRITE_META : READ_META; include/linux/fs.h:164:#define READ_META(READ | REQ_META) include/linux/fs.h:168:#define WRITE_META (WRITE | REQ_META) btrfs seems to not use REQ_META yet. *poke* *poke* :-) -- Matthew Wilcox