Here is a small patch for 2.6.8-rc2 that updates information about bytes and blocks read and written. Fields are already in the BSD accounting files but they are never updated. The patch is based on the CSA accounting patch and it doesn't interfere with Tim Schmielau changes (BSD process accounting version 3).

Modifications are: - It adds four counters in the task_struct (chars read, chars written, blocks read and blocks written). I think it's interesting to separate read and write even if this difference is not made in the BSD accounting.