- reference count lease validations on path lookup?
kernel client
+- file_data_version stuff!
+- deal with CAP_RDCACHE properly: invalidate cache pages?
- trim expired leases so we don't indefinitely hold dcache/icache refs...
- apply_truncate needs to truncate page cache, or something?
- procfs/debugfs
- vfs
- can we use dentry_path(), if it gets merged into mainline?
- io / osd client
- - carry wrbuffer/rdcache caps until data is flushed
- - this should make the utimes bit kick in
- - invalidate cache pages?
- kick requests when new map arrives
- - capability changes (flush.. need way to initiate/block on writeback initiated by mds)
- osd ack vs commit handling. hmm!
- mon client
- work out message resend logic..?
bool increase_max = false;
int64_t inc = in->get_layout_size_increment();
if ((wanted & (CEPH_CAP_WR|CEPH_CAP_WRBUFFER|CEPH_CAP_WREXTEND)) &&
- size + inc > latest->max_size) {
+ size + inc > latest->max_size &&
+ in->filelock.can_wrlock()) {
dout(10) << "hey, wr caps wanted, and size " << size
<< " > max " << latest->max_size << " *2, increasing" << dendl;
increase_max = true;