Sizes of attributes and attributenames....

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

 



Hi,

I'm getting bitten in tests/ceph-disk.sh by.

 2 osd.0 0 boot
-1 osd.0 0 backend (filestore) is unable to support max object
name[space] len
-1 osd.0 0    osd max object name len = 2048
-1 osd.0 0    osd max object namespace len = 256
-1 osd.0 0 (63) File name too long
 1 journal close test-ceph-disk/dir/journal
-1  ** ERROR: osd init failed: (63) File name too long	

And it seems that I did have this fixed in one run or another, but now
it raises it scary head again.
Now I think it is posible to fix this by starting vstart -short, but
that does not cut it with other tests, so it seems.

Now the actual test is:

int FileStore::validate_hobject_key(const hobject_t &obj) const
{
  unsigned len = LFNIndex::get_max_escaped_name_len(obj);
  return len > m_filestore_max_xattr_value_size ? -ENAMETOOLONG : 0;
}

So the actual question is:
It is not about file size, but the maximum length for an attribute NAME
to be stored with a file?

--WjW
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux