ceph: add request to the tail of unsafe write list
authorHenry C Chang <henry.cy.chang@gmail.com>
Tue, 15 Mar 2011 09:18:02 +0000 (09:18 +0000)
committerSage Weil <sage@newdream.net>
Mon, 21 Mar 2011 19:24:25 +0000 (12:24 -0700)
commit49bcb93236ce1c60d9b7eb21a0aea1999f4d8709
treee8dc94cf5c106fc1067411bc38e16e43ab15318e
parent78a255654fa7f01945dea0dcedcf5113b3ad9f93
ceph: add request to the tail of unsafe write list

In sync_write_wait(), we assume that the newest request is at the
tail of unsafe write list. We should maintain the semantics here.

Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/file.c